Problems trying to compile log4shib
Law, Bob
Robert.Law at wolterskluwer.com
Fri Jan 13 21:00:28 GMT 2012
Here are the commands that I used to compile log4shib with gcc 3.4.6
gzcat log4shib-1.0.tar.gz | tar xf -
cd log4shib-1.0
./configure --prefix=$SHIBBASE/shibboleth --disable-static
--disable-doxygen
make
make install
Of course that was version 1.0.
Robert Law
Software Engineer
Wolters Kluwer Health Medical Research
801.304.3012 tel
Robert.Law at wolterskluwer.com
www.ovid.com
-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net]
On Behalf Of Jose Lopez Lujan
Sent: Friday, January 13, 2012 1:55 PM
To: Shib Users
Subject: Re: Problems trying to compile log4shib
Hi Scott
Unfortunately I have the same output using gmake:
.
.
.
Making all in tests
gmake[1]: Entering directory `/local/sfw/src/log4shib-1.0.4/tests'
/bin/bash ../libtool --mode=link CC -m64 -mt -D_REENTRANT -m64 -xO2
-L/usr/sfw/lib/sparcv9 -R/usr/sfw/lib/sparcv9 -o testmain testmain.o
../src/liblog4shib.la -lpthread -lnsl -lsocket
CC -m64 -D_REENTRANT -m64 -xO2 -o .libs/testmain testmain.o -mt
-L/usr/sfw/lib/sparcv9 ../src/.libs/liblog4shib.so -lpthread -lnsl
-lsocket
ld: fatal: file ../src/.libs/liblog4shib.so: open failed: No such file
or
directory
ld: fatal: file processing errors. No output written to .libs/testmain
gmake[1]: *** [testmain] Error 1
gmake[1]: Leaving directory `/local/sfw/src/log4shib-1.0.4/tests'
gmake: *** [all-recursive] Error 1
Best,
-
Jose Manuel Lopez Lujan
Senior LMS Coordinator
University of Toronto
On 12-01-13 3:47 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:
>On 1/13/12 3:39 PM, "Jose Lopez Lujan" <jm.lopez at utoronto.ca> wrote:
>>
>>
>>I searched on the web but didn't find anything relevant so far. It
seems
>>that the script cannot have access to the file
>>../src/.libs/liblog4shib.so. Looking into the directory, the file
>>liblog4shib.so.1.0.4 doesn't exist which is the target of the soft
link
>>liblog4shib.so. And there you go, this is my dead-end, I haven't
figured
>>it out why's not compiling the liblog4shib.so.1.0.4 library.
>
>I would guess that the answer lies earlier in the build during the link
>step and that there's a bug in the makefile or something that's causing
it
>to continue with the build. I would guess as an initial possibility
that
>you might switch to GNU make if you're not using it. You'll need it
later
>anyway.
>
>-- Scott
>
>--
>To unsubscribe from this list send an email to
>users-unsubscribe at shibboleth.net
--
To unsubscribe from this list send an email to
users-unsubscribe at shibboleth.net
More information about the users
mailing list