Problems trying to compile log4shib

Law, Bob Robert.Law at
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
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

-----Original Message-----
From: users-bounces at [mailto:users-bounces at]
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/ -lpthread -lnsl -lsocket
CC -m64 -D_REENTRANT -m64 -xO2 -o .libs/testmain testmain.o  -mt
-L/usr/sfw/lib/sparcv9 ../src/.libs/ -lpthread -lnsl
ld: fatal: file ../src/.libs/ open failed: No such file
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

Jose Manuel Lopez Lujan
Senior LMS  Coordinator
University of Toronto

On 12-01-13 3:47 PM, "Cantor, Scott" <cantor.2 at> wrote:

>On 1/13/12 3:39 PM, "Jose Lopez Lujan" <jm.lopez at> wrote:
>>I searched on the web but didn't find anything relevant so far. It
>>that the script cannot have access to the file
>>../src/.libs/ Looking into the directory, the file
>> doesn't exist which is the target of the soft
>> And there you go, this is my dead-end, I haven't
>>it out why's not compiling the 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
>to continue with the build. I would guess as an initial possibility
>you might switch to GNU make if you're not using it. You'll need it
>-- Scott
>To unsubscribe from this list send an email to
>users-unsubscribe at

To unsubscribe from this list send an email to
users-unsubscribe at

More information about the users mailing list