Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

/etc/ld.so.preload

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
optilude
Apprentice
Apprentice
User avatar
Posts: 248
Joined: Wed May 29, 2002 2:53 pm
Location: England
Contact:
Contact optilude
Website

/etc/ld.so.preload

  • Quote

Post by optilude » Wed May 29, 2002 3:59 pm

This is starting to get on my nerves!

Some times when I emerge things, the build fails with

Code: Select all

>>> /etc/ld.so.preload file fopen: No such file or directory
If I do

Code: Select all

# touch /etc/ld.so.preload
it builds OK, but for some reason, the file disappears and I'll get the same error again on a later build. How do I solve this problem?[/code]
--
"Life is both a major and a minor key" -- Travis
Top
lx
Veteran
Veteran
User avatar
Posts: 1012
Joined: Tue May 28, 2002 8:19 am
Location: Netherlands

  • Quote

Post by lx » Wed May 29, 2002 9:34 pm

had the same thing a few times, it uses the file to preload the library libsandbox.so, I think in my case I was building a few packages simultaneously, well anyway It ain't a bad error, and doesn't influence the build process, mainly intended for developers when make install writes outside the workdirectory. So not having this you ain't protected, but well most packages are already installed by many other users, and it only states the error at the end of the emerge (when he wants to remove the file, so maybe it was there when it was needed.)
Whenever such an unauthorized filesystem access occurs, we speak of a sandbox violation. During these occasions, the sandbox prints out a red error message and reports a permission denied error to whatever command executed the action. The ebuild is interrupted and a summary is shown of all detected violations. This is also saved into a unique logfile whose name it given in the header of the summary. During the interruption of the ebuild, several speaker beeps are emitted. This can be configured by setting the SANDBOX_BEEP variable in /etc/make.conf. It defaults to 3, but can be set to any value and zero disables the beeps.
Cya lX
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Top
optilude
Apprentice
Apprentice
User avatar
Posts: 248
Joined: Wed May 29, 2002 2:53 pm
Location: England
Contact:
Contact optilude
Website

Still confused

  • Quote

Post by optilude » Thu May 30, 2002 1:30 am

Thanks for explaining the meaning of the file. However, the problem persists. /etc/ld.so.preload sometimes disappears (I don't know why or exactly when) and I get packages that fail to emerge because fopen can't find it. I don't have sandbox in the FEATURES variable in /etc/make.conf. Is there anything I can do to avoid this file altogether?

Martin
--
"Life is both a major and a minor key" -- Travis
Top
lx
Veteran
Veteran
User avatar
Posts: 1012
Joined: Tue May 28, 2002 8:19 am
Location: Netherlands

  • Quote

Post by lx » Thu May 30, 2002 8:41 am

It's in the global file (the one you shouldn't change) /etc/make.globals. FEATURES="sandbox". Well you could delete it from there or maybe FEATURES=-sandbox works in /etc/make.conf, I dunnot know. Good luck,

Alex.
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy