Subject: Re: installing libs from lang/gcc*
To: Jeremy C. Reed <firstname.lastname@example.org>
From: Frank Cusack <email@example.com>
Date: 01/15/2003 18:26:33
On Wed, Jan 15, 2003 at 01:01:01PM -0800, Jeremy C. Reed wrote:
> I am using pkgsrc to provide all software.
> When trying to run qmake to build pkgsrc/x11/qt3-libs, I received errors
> qmake: error while loading shared libraries: libstdc++.so.5: cannot open
> shared object file: No such file or directory
> $ ldd bin/qmake
> libstdc++.so.5 => not found
> libm.so.6 => /lib/libm.so.6 (0x4001f000)
> libgcc_s.so.1 => not found
> libc.so.6 => /lib/libc.so.6 (0x40041000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> To workaround this, I made symlinks for these gcc libs.
> Any suggestions for doing this automatically using pkgsrc?
> Any suggestions for an option for pkgsrc/lang/gcc* so the install will
> use $PREFIX/bin and $PREFIX/include and $PREFIX/lib and $PREFIX/man
> instead of placing this under its own gcc directory.
It does this already (works for me on SunOS). The binary gcc3 package
looks broken in that it does not include the libraries. Is this what's
biting you? Or are you saying libstdc++ is in $PREFIX/lib/gcc-lib/...
Is this on Linux?