pkgsrc-Users archive

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

general problem with pkgsrc on 64bit linux

I'm having trouble compiling a bunch of pkgsrc packages on 64 bit
linux.  I think it's because /usr/lib64 is being inserted before the
pkgsrc lib64 directory in some cases.

Here's an example from pkgsrc-2006Q4 devel/py-gobject-shared

LDFLAGS='-L/home/users/russm/pkg/lib/python2.4/config -L/usr/lib64 
-Wl,-R/usr/lib64 -L/home/users/russm/pkg/lib64 
-Wl,-R/home/users/russm/pkg/lib64 -Wl,-R/home/users/russm/pkg/lib'

configure tried to link a program using glib and picked up the version
of the library from /usr/lib64.  but configure was expecting a
different version of glib because pkg-config told it a different

Then configure barfed when it noticed the mismatch:

checking for GLIB - version >= 2.8.0...
*** 'pkg-config --modversion glib-2.0' returned 2.14.1, but GLIB (2.4.7)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
configure: error: maybe you want the pygobject-2-4 branch?
*** Error code 1

Any ideas about how to address this issue? 


Home | Main Index | Thread Index | Old Index