On Mon, 2003-06-23 at 07:50, Jim Mozley wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Peter, > > > > > > The problem manifests when I run amcheck: > > > > > > > > > > ld.so.1: /usr/local/sbin/amcheck: fatal: libgcc_s.so.1: open failed: > No > > > > > such file or directory > > [..] > > > Allthough libgcc_s.so.1 is not found it is in /usr/local/lib (in the > same > > > location as the readline library above) via a symbolic link. I make > > > /usr/local a link to /opt/local. I could understand if all the libraries > in > > > /usr/local/lib were not found, but not just one. > > > > what about permission flags of the shared lib (not the softlink) ? > > it should read 0755 or -rwxr-xr-x > > I changed the permissions to this and recompiled, the output of ldd looked > better: > > # ldd /usr/local/sbin/amcheck > libamserver-2.4.4.so => /usr/local/lib/libamserver-2.4.4.so > libamtape-2.4.4.so => /usr/local/lib/libamtape-2.4.4.so > libamanda-2.4.4.so => /usr/local/lib/libamanda-2.4.4.so > libgen.so.1 => /usr/lib/libgen.so.1 > libm.so.1 => /usr/lib/libm.so.1 > libreadline.so.4 => /usr/local/lib/libreadline.so.4 > libcurses.so.1 => /usr/lib/libcurses.so.1 > libsocket.so.1 => /usr/lib/libsocket.so.1 > libnsl.so.1 => /usr/lib/libnsl.so.1 > libintl.so.1 => /usr/lib/libintl.so.1 > libc.so.1 => /usr/lib/libc.so.1 > libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 > libdl.so.1 => /usr/lib/libdl.so.1 > libmp.so.2 => /usr/lib/libmp.so.2 > /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1 > > > But I still get the same error (ld.so.1: /usr/local/sbin/amcheck: fatal: > libgcc_s.so.1: open failed: No such file or directory) when trying amcheck. > > I have tried configure with: > > CFLAGS="-L/usr/local/lib -L/usr/lib" LDFLAGS="-R/usr/local/lib" > ./configure --with-user=amanda --with-group=backup \ > --with-includes=/usr/local/include \ > --with-libraries=/usr/local/lib \ > --with-gnutar=/usr/local/bin/tar > > But this still keeps giving the same error. I have don make uninstall; make > distclean between each compile attempt. > > Sorry if this is a bit OT, I'm sure its not an amanda problem. > > Jim
I may have missed some of the things already tried, but I was wondering if the logged in user also has the LD_LIBRARY_PATH set accurately? Seems that has gotten me once or twice. HTH -- Jim Summers <[EMAIL PROTECTED]> University of Oklahoma - Computer Science