Re: [rpm-list] problems compiling rpm on solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On Jan 4, 2007, at 2:31 PM, Edward Quick wrote:



I got a bit further, by setting the LIBS to /opt/local/lib/ libneon.a /opt/local/lib/libbeecrypt.a /opt/local/lib/libxml2.a -lz but it's still falling over:

smpd328>gmake
gmake  all-am
gmake[1]: Entering directory `/tmp/rpm-4.4.7/rpmdb'
/bin/bash ../libtool --mode=link --tag=CC cc -Xa -xstrconst -xs -g -mt -KPIC -D__FUNCTION__=__func__ -I/usr/local/include/beecrypt -I/ usr/local/include/neon -D__FUNCTION__=__func__ -I/usr/local/include/ beecrypt -I/usr/local/include/neon -L/opt/rpm/lib -L/opt/rpm/lib - o rpmdb_archive ../db3/db_archive.o ../db3/util_sig.o librpmdb.la /opt/local/lib/libneon.a /opt/local/lib/libbeecrypt.a / opt/local/lib/libxml2.a -lz cc -Xa -xstrconst -xs -g -mt -KPIC -D__FUNCTION__=__func__ -I/usr/ local/include/beecrypt -I/usr/local/include/neon - D__FUNCTION__=__func__ -I/usr/local/include/beecrypt -I/usr/local/ include/neon -o .libs/rpmdb_archive ../db3/db_archive.o .../db3/ util_sig.o -L/opt/rpm/lib ./.libs/librpmdb.so /tmp/rpm-4.4.7/ rpmio/.libs/librpmio.so -L/usr/local/lib -lm -ldl -lresolv -lbz2 / tmp/rpm-4.4.7/popt/.libs/libpopt.so -L/usr/ucblib -lpthread -lnsl - lsocket -lrt /opt/local/lib/libneon.a /opt/local/lib/libbeecrypt.a / opt/local/lib/libxml2.a -lz -R/opt/rpm/lib
Undefined                       first referenced
symbol                             in file
ne_add_response_header_catcher /tmp/rpm-4.4.7/rpmio/.libs/ librpmio.so ne_add_response_header_handler /tmp/rpm-4.4.7/rpmio/.libs/ librpmio.so

This is likely from the config.h define

/* Define to 1 if you have ne_get_response_header() in libneon. */
#define HAVE_NEON_NE_GET_RESPONSE_HEADER 1

Dunno if you want defined or not ...

73 de Jeff

Thanks Jeff! I finally got there, by recompiling neon with the workshop c compiler, and setting LIBS to -L/opt/local/lib -lbeecrypt -lneon in a few places. The only snag I have now are the gnu dependencies which probably arise from the beecrypt library. I couldn't get beecrypt to compile with workshop C.

Also I'm not sure where that libstdc++.so.5 dependency is from. Is it possible to compile these in statically?

smpd328:${PWD}# LD_LIBRARY_PATH=/usr/local/lib
smpd328:${PWD}# export LD_LIBRARY_PATH
smpd328:${PWD}# ldd rpm
       libresolv.so.2 =>        /usr/lib/libresolv.so.2
       libbz2.so.1 =>   /usr/lib/libbz2.so.1
       libxml2.so.2 =>  /usr/local/lib/libxml2.so.2
       libz.so =>       /usr/local/lib/libz.so
       libpthread.so.1 =>       /usr/lib/libpthread.so.1
       libm.so.1 =>     /usr/lib/libm.so.1
       libsocket.so.1 =>        /usr/lib/libsocket.so.1
       libnsl.so.1 =>   /usr/lib/libnsl.so.1
       libbeecrypt.so.6 =>      /usr/local/lib/libbeecrypt.so.6
       librt.so.1 =>    /usr/lib/librt.so.1
       libdl.so.1 =>    /usr/lib/libdl.so.1
       libstdc++.so.5 =>        (file not found)
       libthread.so.1 =>        /usr/lib/libthread.so.1
       libc.so.1 =>     /usr/lib/libc.so.1
       libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
       libmp.so.2 =>    /usr/lib/libmp.so.2
libstdc++.so.5 => /usr/local/gnu-sol28/stow/gcc-3.3.2/lib/./libstdc++.so.5
       libaio.so.1 =>   /usr/lib/libaio.so.1
       /usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1

_________________________________________________________________
Windows Live? Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux