Can you send me the output of: ls -l /usr/lib/libpcap* ls -l /usr/lib64/libpcap*
thanks. On 4/16/07, Bojan Smojver <[EMAIL PROTECTED]> wrote: > On Mon, 2007-04-16 at 10:36 -0700, Aaron Turner wrote: > > > With that in mind, does RC1 compile properly for you on x86_64? With > > and w/o --enable-dynamic-link? > > Statically, yes. Dynamically, it does eventually link (because my > libpcap.so is in system wide location - /usr/lib64), but the linker > flags are actually incorrect (they point to /usr/lib) and linker must > skip incompatible files in order to really link. So, it kind of works by > accident: > > ---------------------------------------------------- > gcc -I../libopts -I.. -DTCPBRIDGE -g -O2 -Wall -O2 -funroll-loops > -std=gnu99 -Wextra -Wno-variadic-macros -Wfatal-errors -I/usr/include > -o .libs/tcpbridge tcpbridge-tcpbridge_opts.o tcpbridge-tcpbridge.o > tcpbridge-bridge.o > tcpbridge-send_packets.o ./tcpedit/libtcpedit.a ./common/libcommon.a > ../lib/libstrl.a -L/usr/lib -lnet -lpcap ../libopts/.libs/libopts -lrt -lnsl > -Wl,--rpath -Wl,/usr/local/lib > /usr/bin/ld: skipping incompatible /usr/lib/libpcap.so when searching > for -lpcap > /usr/bin/ld: skipping incompatible /usr/lib/libpcap.a when searching for > -lpcap > /usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for > -lrt > /usr/bin/ld: skipping incompatible /usr/lib/librt.a when searching for > -lrt > /usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for > -lnsl > /usr/bin/ld: skipping incompatible /usr/lib/libnsl.a when searching for > -lnsl > /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for > -lc > /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for > -lc > creating tcpbridge > ---------------------------------------------------- > > If my libpcap.so was in a different place, it wouldn't actually work. > > With the patch that I sent yesterday, the above no longer happens: > > ---------------------------------------------------- > gcc -g -O2 -Wall -O2 -funroll-loops -std=gnu99 -Wextra > -Wno-variadic-macros -Wfatal-errors -I/usr/include -o .libs/tcpbridge > tcpbridge-tcpbridge_opts.o tcpbridge-tcpbridge.o tcpbridge-bridge.o > tcpbridge-send_packets.o /usr/lib64/libpcap.so ./tcpedit/libtcpedit.a > ./common/libcommon.a > ../lib/libstrl.a /usr/lib64/libnet.a ../libopts/.libs/libopts -lrt -lnsl > -Wl,--rpath -Wl,/usr/local/lib > creating tcpbridge > ---------------------------------------------------- > > -- > Bojan > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Tcpreplay-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
