sane-project-website/old-archive/2000-03/0082.html

150 wiersze
5.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: sane-1.0.2 libsane.so broken in Solaris</TITLE>
<META NAME="Author" CONTENT="William L. Sebok (wls@astro.umd.edu)">
<META NAME="Subject" CONTENT="Re: sane-1.0.2 libsane.so broken in Solaris">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: sane-1.0.2 libsane.so broken in Solaris</H1>
<!-- received="Wed, 8 Mar 2000 18:34:21 -0500 (EST)" -->
<!-- isoreceived="20000308233421" -->
<!-- sent="Wed, 8 Mar 2000 18:34:21 -0500 (EST)" -->
<!-- isosent="20000308233421" -->
<!-- name="William L. Sebok" -->
<!-- email="wls@astro.umd.edu" -->
<!-- subject="Re: sane-1.0.2 libsane.so broken in Solaris" -->
<!-- id="200003082334.SAA22423@earth.astro.umd.edu" -->
<!-- inreplyto="sane-1.0.2 libsane.so broken in Solaris" -->
<STRONG>From:</STRONG> William L. Sebok (<A HREF="mailto:wls@astro.umd.edu?Subject=Re:%20sane-1.0.2%20libsane.so%20broken%20in%20Solaris&In-Reply-To=&lt;200003082334.SAA22423@earth.astro.umd.edu&gt;"><EM>wls@astro.umd.edu</EM></A>)<BR>
<STRONG>Date:</STRONG> Wed Mar 08 2000 - 15:34:21 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0083.html">Oliver Neukum: "Microtek tech support with regards to X6USB"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0081.html">Eugene Weiss: "Preliminary SANE support for the Artec AS6E."</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0053.html">William L. Sebok: "sane-1.0.2 libsane.so broken in Solaris"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#82">[ date ]</A>
<A HREF="index.html#82">[ thread ]</A>
<A HREF="subject.html#82">[ subject ]</A>
<A HREF="author.html#82">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I said:
<BR>
<EM>&gt; Solaris does not have /etc/ld.so.conf (nor ldconfig). Instead it uses
</EM><BR>
<EM>&gt; a Run Path linked into each binary.
</EM><BR>
<P>Steve Williams replied:
<BR>
<EM>&gt; From what I recall, yes it does have an /etc/ld.so.cache or something
</EM><BR>
<EM>&gt; similar.
</EM><BR>
<P>No it doesn't.
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ea% uname -a
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SunOS earth 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-5_10
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ea% ls -l /etc/ld.so.conf
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/etc/ld.so.conf: No such file or directory
<BR>
<P>There is also no equivalent of /etc/ld.so.conf.
<BR>
<P><EM>&gt; And there is something like an ldconfig command.
</EM><BR>
<P>No here also.
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ea% which ldconfig
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ldconfig: Command not found.
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ea% man ldconfig
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No manual entry for ldconfig.
<BR>
<P>There also is no equivalent of ldconfig.
<BR>
<P>From the Solaris answerbook (Solaris Transition Guide):
<BR>
<P>Table 98 - Commands Reference Table (Continued)
<BR>
&nbsp;&nbsp;SunOS Release 4.x SunOS release 5.7 Alternative Available and Notes BSD
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Command Status
<BR>
&nbsp;&nbsp;ldconfig(8) N
<BR>
<P>Sunos 4 had ldconfig but this was dropped in in Sunos 5.X aka Solaris 2.X.
<BR>
I don't believe that either had a /etc/ld.so.conf (my last Sunos 4 machine is
<BR>
long broken, making it hard to check).
<BR>
<P><EM>&gt; And in any case, the LD_RUN_PATH can override th compiled in
</EM><BR>
<EM>&gt; path.
</EM><BR>
<P>No. You must be thinking of LD_LIBRARY_PATH which overrides the compiled in
<BR>
library path. LD_RUN_PATH is used during linking and compiles in a run path.
<BR>
The -R flags if present during linking (syntax like the -L flags) also causes a
<BR>
run path to be compiled in and overriding any effect of an LD_RUN_PATH
<BR>
environment. Use of -R flags are the normal way for a program to find its
<BR>
shared libraries if they aren't /usr/lib. Use of LD_LIBRARY_PATH is normally
<BR>
considered evil except in special circumstances, possibly making programs find
<BR>
the wrong libraries.
<BR>
<P>This is all described in &quot;man ld&quot;.
<BR>
<P>Bill Sebok Computer Software Manager, Univ. of Maryland, Astronomy
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internet: <A HREF="mailto:wls@astro.umd.edu?Subject=Re:%20sane-1.0.2%20libsane.so%20broken%20in%20Solaris&In-Reply-To=&lt;200003082334.SAA22423@earth.astro.umd.edu&gt;">wls@astro.umd.edu</A> URL: <A HREF="http://www.astro.umd.edu/~wls/">http://www.astro.umd.edu/~wls/</A>
<BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20sane-1.0.2%20libsane.so%20broken%20in%20Solaris&In-Reply-To=&lt;200003082334.SAA22423@earth.astro.umd.edu&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0083.html">Oliver Neukum: "Microtek tech support with regards to X6USB"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0081.html">Eugene Weiss: "Preliminary SANE support for the Artec AS6E."</A>
<LI><STRONG>Maybe in reply to:</STRONG> <A HREF="0053.html">William L. Sebok: "sane-1.0.2 libsane.so broken in Solaris"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#82">[ date ]</A>
<A HREF="index.html#82">[ thread ]</A>
<A HREF="subject.html#82">[ subject ]</A>
<A HREF="author.html#82">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Wed Mar 08 2000 - 15:33:02 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>