Hi All,
I got strange problem with slptool v1.2.1 on RedHat 4 x86_64. After I built it
with the following commands, slptool is causing segment fault if I issue: “
slptool findsrvtypes”:
export KIT_DIR= $PWD/slp_kit_RedHat_x86_64-linux
$OPENSLP_HOME/configure --prefix=$KIT_DIR --localstatedir=/var
make
make install
Then I used SCP to copy the SLP kit to another machine, and run the following
command from the non-build machine:
bash-3.00$ ./slptool findsrvtypes
Segmentation fault
bash-3.00$
Other command parameters, such as, “slptool findsrvs service:service-agent”,
work fine!
I used LDD to find out its dependency,
bash-3.00$ ldd ./slptool
libslp.so.1 =>
/liangm/src/thirdparty/openslp/slp_kit_RedHat_x86_64-linux/lib/libslp.so.1
(0x0000002a95557000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00000035e8800000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00000035e4000000)
libc.so.6 => /lib64/tls/libc.so.6 (0x00000035e2f00000)
/lib64/ld-linux-x86-64.so.2 (0x00000035e2b00000)
Any idea on how to fix it and what is causing this problem?
It is a bit strange that “libslp.so.1” is hardcoded to my build directory with
my home drive paths. How to get rid of this hardcoded dependency?
Thanks in advance for any suggestions.
Ming
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Openslp-devel mailing list
Openslp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-devel