That seems to have done it.

`amcheck daily` works now.

I'll see if I can run some dumps tonight and then start ramping this server up. I'll let you know how things work out.

Thank you,


On 11/28/12 1:55 PM, Jean-Louis Martineau wrote:
On 11/28/2012 01:48 PM, Chris Hoogendyk wrote:
It is apparently explicitly looking for that version: "find object=libamserver-2.5.1p3.so" (from ldd -s). So, if I move the old libraries, the ldd fails. It isn't just looking for libamserver.so and finding one that links to 2.5.1p3.

If I remove all the old libraries, how far back in the build do I have to go? All the way back to the beginning? What other pieces of Amanda 2.5.1p3 do I have to hide for 3.3.2 to build correctly?
make clean; make ; make install
You should remove all *-2.5.1p3.so files

I'm not familiar with the build process on solaris, i don't know why it take 
the wrong libs.

Jean-Louis

Following is the beginning of the ldd -s:

marlin:/usr/local/etc/amanda/daily$ ldd -s /usr/local/lib/perl5/site_perl/5.16.2/auto/Amanda/Logfile/libLogfile.so | head -30

find object=libamglue-3.3.2.so; required by /usr/local/lib/perl5/site_perl/5.16.2/auto/Amanda/Logfile/libLogfile.so
    search path=/usr/local/lib/amanda  (LD_LIBRARY_PATH)
    trying path=/usr/local/lib/amanda/libamglue-3.3.2.so
        libamglue-3.3.2.so => /usr/local/lib/amanda/libamglue-3.3.2.so

find object=libamserver-2.5.1p3.so; required by /usr/local/lib/perl5/site_perl/5.16.2/auto/Amanda/Logfile/libLogfile.so
    search path=/usr/local/lib/amanda  (LD_LIBRARY_PATH)
    trying path=/usr/local/lib/amanda/libamserver-2.5.1p3.so
search path=/usr/local/lib/amanda:/usr/local/lib:/usr/local/samba/lib:/usr/sfw/lib:/usr/lib:/usr/ccs/lib:/usr/ucblib (RPATH from file /usr/local/lib/perl5/site_perl/5.16.2/auto/Amanda/Logfile/libLogfile.so)
    trying path=/usr/local/lib/amanda/libamserver-2.5.1p3.so
    trying path=/usr/local/lib/libamserver-2.5.1p3.so
    trying path=/usr/local/samba/lib/libamserver-2.5.1p3.so
    trying path=/usr/sfw/lib/libamserver-2.5.1p3.so
    trying path=/usr/lib/libamserver-2.5.1p3.so
    trying path=/usr/ccs/lib/libamserver-2.5.1p3.so
    trying path=/usr/ucblib/libamserver-2.5.1p3.so
search path=/lib:/usr/lib:/opt/coolstack/lib:/usr/local/gcc/lib/gcc/sparc-sun-solaris2.10/4.2.0:/usr/local/lib (configuration default - /var/ld/ld.config)
    trying path=/lib/libamserver-2.5.1p3.so
    trying path=/usr/lib/libamserver-2.5.1p3.so
    trying path=/opt/coolstack/lib/libamserver-2.5.1p3.so
    trying 
path=/usr/local/gcc/lib/gcc/sparc-sun-solaris2.10/4.2.0/libamserver-2.5.1p3.so
    trying path=/usr/local/lib/libamserver-2.5.1p3.so
        libamserver-2.5.1p3.so =>        (file not found)

--
---------------

Chris Hoogendyk

-
   O__  ---- Systems Administrator
  c/ /'_ --- Biology & Geology Departments
 (*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst

<[email protected]>

---------------

Erdös 4

Reply via email to