pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to install and find things in nonstandard locations?

from "Greg Troxel" <>:

> Sorry, I meant pkgsrc/lang/guile16.
> I thought we had 1.4 packaged still.

I see guile-1.6.8, the latest in pkgsrc, is outdated (28-May-2006).  

Latest release is 1.8.8 (13-Dec-2010).  Update: now I see pkgsrc has just 
updated to this new version.

I still can't get programs such as grep and sed, called from libtool, to find a 
lib file in /usr/local/lib (snipping lines 1 to 74 of my make log file):

/bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall -version-info 
5:5:1 -no-undefined  -o -rpath /usr/local/lib gconf-internals.lo 
gconf-backend.lo gconf-changeset.lo gconf-error.lo gconf-listeners.lo 
gconf-locale.lo gconf-schema.lo gconf-sources.lo gconf-value.lo gconf.lo 
gconf-client.lo gconf-enum-types.lo GConfX-common.lo GConfX-skels.lo 
GConfX-stubs.lo   -pthread -Wl,--export-dynamic -L/usr/local/lib -lgio-2.0 
-lgmodule-2.0 -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0   
libtool: link: warning: `/usr/lib/' seems to be moved
libtool: link: warning: `/usr/lib/' seems to be moved
/usr/bin/grep: /usr/lib/ No such file or directory
/usr/bin/sed: can't read /usr/lib/ No such file or directory
libtool: link: `/usr/lib/' is not a valid libtool archive
make[3]: *** [] Error 1
make[3]: Leaving directory `/home/arlene/gnumeric-dep/GConf-2.32.1/gconf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/arlene/gnumeric-dep/GConf-2.32.1/gconf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/arlene/gnumeric-dep/GConf-2.32.1'
make: *** [all] Error 2

"seems to be moved" resulted from making symbolic links in /usr/lib to those 
files it didn't know to look for in /usr/local/lib.

I think the build uses a libtool generated by "configure" rather than one that 
might be installed on the system.

But I was successful building the new libtool-2.4 and upgrading from Slackware 
13.0's libtool-1.5.26.

Maybe something is wrong in Slackware's setup, in which case Slackware would 
not be a good system to build my own versions of packages either with pkgsrc or 

I could try downloading gcc-4.5.2 full suite (, and 
building that from source to upgrade Slackware's corresponding stuff, or I 
could first try a live CD such as System Rescue CD (, I 
have v1.4.0.  Then I'd have to add /mount-point/usr/include and 
/mount-point/usr/local/include to include path and /mount-point/usr/local/lib 
and /mount-point/usr/lib to lib search path after mounting Slackware Linux 

Home | Main Index | Thread Index | Old Index