Problems trying to compile log4shib

Jose Lopez Lujan jm.lopez at
Fri Jan 13 21:25:40 GMT 2012

Same thing using:

openwin/bin:/usr/sbin; export PATH

env     CC="gcc" \
        CXX="gcc" \
        CFLAGS="-m64 " \
        CXXFLAGS="-m64 " \
        LDFLAGS="-L/usr/sfw/lib/sparcv9 -R/usr/sfw/lib/sparcv9" \
        CCFLAGS=-m64 \
        INSTALL=/usr/ucb/install \
        ./configure \
        --disable-static \
        --prefix=/local/sfw \

:basic_istringstream<char, std::char_traits<char>, std::allocator<char>
>::basic_istringstream(std::basic_string<char, std::char_traits<char>,
>std::allocator<char> > const&,
std::basic_ostream<char, std::char_traits<char> >& std::endl<char,
std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char>
std::basic_ostream<char, std::char_traits<char> >& std::ends<char,
std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char>
std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char,
std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char,
std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)../src/.libs/
ld: fatal: symbol referencing errors. No output written to .libs/testmain
collect2: ld returned 1 exit status
gmake[1]: *** [testmain] Error 1
gmake[1]: Leaving directory `/local/sfw/src/log4shib-1.0.4/tests'
gmake: *** [all-recursive] Error 1

The fact is that if I don¹t use "-m64" flag for a 64-bit SPARC
architecture it will compile with any trouble but I'll have a 32-bit MSB
dynamic lib SPARC32PLUS:

# file   ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1,
V8+ Required, dynamically linked, not stripped

Which is not the same as other components that I've successfully compiled
for a 64-bit SPARC architecture, so eventually I'll get either a

I've uploaded the full make logs and configure scripts
- 32bit:
- 64bit SPARC:

Jose Manuel Lopez Lujan
Senior LMS  Coordinator
University of Toronto

On 12-01-13 3:55 PM, "Jose Lopez Lujan" <jm.lopez at> wrote:

>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 or
>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 seems
>>>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 link
>>> And there you go, this is my dead-end, I haven't figured
>>>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 that
>>you might switch to GNU make if you're not using it. You'll need it later
>>-- 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