kopia lustrzana https://gitlab.com/sane-project/website
150 wiersze
5.9 KiB
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=<200003082334.SAA22423@earth.astro.umd.edu>"><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>> Solaris does not have /etc/ld.so.conf (nor ldconfig). Instead it uses
|
|
</EM><BR>
|
|
<EM>> a Run Path linked into each binary.
|
|
</EM><BR>
|
|
<P>Steve Williams replied:
|
|
<BR>
|
|
<EM>> From what I recall, yes it does have an /etc/ld.so.cache or something
|
|
</EM><BR>
|
|
<EM>> similar.
|
|
</EM><BR>
|
|
<P>No it doesn't.
|
|
<BR>
|
|
<P> ea% uname -a
|
|
<BR>
|
|
SunOS earth 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-5_10
|
|
<BR>
|
|
ea% ls -l /etc/ld.so.conf
|
|
<BR>
|
|
/etc/ld.so.conf: No such file or directory
|
|
<BR>
|
|
<P>There is also no equivalent of /etc/ld.so.conf.
|
|
<BR>
|
|
<P><EM>> And there is something like an ldconfig command.
|
|
</EM><BR>
|
|
<P>No here also.
|
|
<BR>
|
|
<P> ea% which ldconfig
|
|
<BR>
|
|
ldconfig: Command not found.
|
|
<BR>
|
|
ea% man ldconfig
|
|
<BR>
|
|
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>
|
|
SunOS Release 4.x SunOS release 5.7 Alternative Available and Notes BSD
|
|
<BR>
|
|
Command Status
|
|
<BR>
|
|
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>> And in any case, the LD_RUN_PATH can override th compiled in
|
|
</EM><BR>
|
|
<EM>> 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 "man ld".
|
|
<BR>
|
|
<P>Bill Sebok Computer Software Manager, Univ. of Maryland, Astronomy
|
|
<BR>
|
|
Internet: <A HREF="mailto:wls@astro.umd.edu?Subject=Re:%20sane-1.0.2%20libsane.so%20broken%20in%20Solaris&In-Reply-To=<200003082334.SAA22423@earth.astro.umd.edu>">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=<200003082334.SAA22423@earth.astro.umd.edu>">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>
|