You are not logged in.

#1 2009-11-02 06:23:54

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

'libfakeroot.so' cannot be preloaded

I've been getting this error recently on one of my desktops:

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.

I found an old bug (2007 vintage) that says it should be fixed but I'm still getting it: http://bugs.archlinux.org/task/6208

Any ideas what could be causing this?

$ makepkg --version
makepkg (pacman) 3.3.2
 $ grep -vE '^#' /etc/makepkg.conf 
DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
          'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
          'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
          'rsync::/usr/bin/rsync -z %u %o'
          'scp::/usr/bin/scp -C %u %o')
CARCH="i686"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
BUILDENV=(fakeroot !distcc color !ccache)
OPTIONS=(strip docs libtool emptydirs zipman purge)
INTEGRITY_CHECK=(md5)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
PACKAGER="Phillip Smith <fukawi2@NO-SPAM.gmail.com>"
PKGEXT='.pkg.tar.gz'
SRCEXT='.src.tar.gz'

Offline

#2 2009-11-02 06:31:36

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: 'libfakeroot.so' cannot be preloaded

What are you running to get that message?

Offline

#3 2009-11-02 07:39:25

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: 'libfakeroot.so' cannot be preloaded

Just plain old `makepkg`

I'm currently getting it with a perl PKGBUILD. The perl PKGBUILD is from ABS, I've just split it into build() and package(). I had it last week with the kernel26 package - same deal - from ABS, just split into build() and package()

Offline

#4 2009-11-02 09:06:23

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: 'libfakeroot.so' cannot be preloaded

What fakeroot are you using?  Does it only happen on one machine or is it reproducible on a different machine?

Offline

#5 2009-11-02 09:47:00

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: 'libfakeroot.so' cannot be preloaded

It probably can be reproduced. I remember, that it happens sometimes while I'm building my firefox-pgo pkg. I could check the details later, if that could help.


Proud ex-maintainer of firefox-pgo

Offline

#6 2009-11-02 21:02:16

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: 'libfakeroot.so' cannot be preloaded

Allan wrote:

What fakeroot are you using?  Does it only happen on one machine or is it reproducible on a different machine?

phillips@phil-desktop ~  $ pacman -Qi fakeroot
Name           : fakeroot
Version        : 1.13.1-1
<snip>
Architecture   : i686
Build Date     : Wed 07 Oct 2009 23:52:30 EST
Install Date   : Mon 12 Oct 2009 16:05:55 EST
<snip>

It's only happening on my work desktop at the moment. It happens repeatedly when building at the moment, but I haven't seen it on any other of my machines...

Offline

#7 2009-11-02 21:54:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: 'libfakeroot.so' cannot be preloaded

it happend to me when i've build libfbclient


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2009-11-04 14:48:18

solstice
Member
Registered: 2006-10-27
Posts: 235
Website

Re: 'libfakeroot.so' cannot be preloaded

i got this too when i try to build virtualbox_bin_addition from aur.
the PKGBUILD tries to mount an iso on a loopback with sudo !!

Last edited by solstice (2009-11-04 14:49:42)

Offline

#9 2009-11-04 15:02:26

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: 'libfakeroot.so' cannot be preloaded

solstice wrote:

i got this too when i try to build virtualbox_bin_addition from aur.
the PKGBUILD tries to mount an iso on a loopback with sudo !!

really, you don't need that package. the iso is provided by virtualbox_bin. i should delete that package asap


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2009-11-05 03:23:11

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: 'libfakeroot.so' cannot be preloaded

It's now happening on my 64-bit ArchServer dev box...

This is a fresh installation (< 2 weeks), with basic CLI-only setup with SSH, git, Apache, PHP etc.

Output from makepkg:
http://www.pastebin.ca/1657839

PKGBUILD: http://github.com/ArchServer/base/tree/master/perl/

Offline

#11 2009-11-05 03:28:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: 'libfakeroot.so' cannot be preloaded

This is weird...   any change that you can test fakeroot from [testing].  It is safe to install only that package from the testing repo.

Offline

#12 2009-11-05 05:04:59

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: 'libfakeroot.so' cannot be preloaded

Still happens:

fukawi2@dev ~/base.git/perl  $ pacman -Qi fakeroot
Name           : fakeroot
Version        : 1.14.3-1

Offline

#13 2009-11-08 10:29:29

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: 'libfakeroot.so' cannot be preloaded

I get the same when I try to build compiz-fusion-entire-git from AUR.

Offline

#14 2010-02-20 04:44:45

Viaken
Member
Registered: 2008-06-26
Posts: 14

Re: 'libfakeroot.so' cannot be preloaded

I'm getting this trying to build several of the -dfb packages from aur. Has anyone worked out what to do about it?

Offline

#15 2010-02-20 04:52:47

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: 'libfakeroot.so' cannot be preloaded

this happens when some command is setuid, LD_PRELOAD can not be used with setuid executables (like others LD_* vars)

sudo is setuid.

Offline

Board footer

Powered by FluxBB