When I built 3.1.5 for Solaris I included the
-R flag to gcc which encodes the path to the
shared library in the htdig binaries. This
way no runtime environment flags are needed.
I did this by setting the LDFLAGS variable
prior to the configure/build steps.
setenv LDFLAGS "-L/usr/local/lib -R/usr/local/lib"
./configure
gmake
You can check if this was successful with the ldd
command on the htdig binary.
unsetenv LD_LIBRARY_PATH
ldd htdig/htdig
libz.so => /usr/local/lib/libz.so
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libstdc++.so.2.10.0 => /usr/local/lib/libstdc++.so.2.10.0
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
-Carl Edwards
Vitesse Semiconductor
>From: "Rob Strange" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Date: Tue, 11 Sep 2001 17:42:01 +0100
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
>Subject: [htdig] Problems with rundig / libstdc++
>X-BeenThere: [EMAIL PROTECTED]
>X-Mailman-Version: 2.0.5
>List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
>List-Post: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/htdig-general>,
<mailto:[EMAIL PROTECTED]?subject=subscribe>
>List-Id: A mailing list for general ht://Dig discussion
<htdig-general.lists.sourceforge.net>
>List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/htdig-general>,
<mailto:[EMAIL PROTECTED]?subject=unsubscribe>
>
>I've installed htdig-3.2.0b3 on Solaris but get the following errors when I
>run rundig.
>
># ./rundig
>ld.so.1: /htdig/bin/bin/htdig: fatal: libstdc++.so.2.10.0: open failed: No
>such
>file or directory
>Killed
>ld.so.1: /htdig/bin/bin/htpurge: fatal: libstdc++.so.2.10.0: open failed: No
>suc
>h file or directory
>Killed
>ld.so.1: /htdig/bin/bin/htnotify: fatal: libstdc++.so.2.10.0: open failed:
>No su
>ch file or directory
>Killed
>ld.so.1: /htdig/bin/bin/htfuzzy: fatal: libstdc++.so.2.10.0: open failed: No
>suc
>h file or directory
>Killed
>ld.so.1: /htdig/bin/bin/htfuzzy: fatal: libstdc++.so.2.10.0: open failed: No
>suc
>h file or directory
>Killed
>#
>
>This is addressed in http://www.htdig.org/FAQ.html#q3.6 with the advice "set
>the LD_RUN_PATH environment variable during compile to the directory where
>libstdc++.so.2.8.1.1" but please can someone tell me how to do this? I tried
># LD_RUN_PATH=/opt/lib;export LD_RUN_PATH
>before doing the make, but still no joy.
>
>Thanks,
>
>Rob Strange
>Web Developer, NISS
>EduServ
>Queen Anne House
>Charlotte Street
>Bath BA1 2NE
>Email: [EMAIL PROTECTED]
>----------------------------------------------------------------
> "There are four people in a room and seven people leave.
> How many must go in, before the room is empty?"
>----------------------------------------------------------------
>
>
>
>_______________________________________________
>htdig-general mailing list <[EMAIL PROTECTED]>
>To unsubscribe, send a message to <[EMAIL PROTECTED]>
with a subject of unsubscribe
>FAQ: http://htdig.sourceforge.net/FAQ.html
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html