sane-project-website/old-archive/2001-02/0100.html

141 wiersze
5.5 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: Solaris works! New problem.</TITLE>
<META NAME="Author" CONTENT="Gregory Gulik (greg@gulik.org)">
<META NAME="Subject" CONTENT="Re: Solaris works! New problem.">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Solaris works! New problem.</H1>
<!-- received="Fri Feb 9 08:04:17 2001" -->
<!-- isoreceived="20010209160417" -->
<!-- sent="Fri, 09 Feb 2001 10:05:46 -0600" -->
<!-- isosent="20010209160546" -->
<!-- name="Gregory Gulik" -->
<!-- email="greg@gulik.org" -->
<!-- subject="Re: Solaris works! New problem." -->
<!-- id="3A84155A.3EB25AA2@gulik.org" -->
<!-- inreplyto="20010209092432.Z4332@fasil.Genetik.Uni-Bielefeld.DE" -->
<STRONG>From:</STRONG> Gregory Gulik (<A HREF="mailto:greg@gulik.org?Subject=Re:%20Solaris%20works!%20%20New%20problem.&In-Reply-To=&lt;3A84155A.3EB25AA2@gulik.org&gt;"><EM>greg@gulik.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Feb 09 2001 - 08:05:46 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0101.html">Gregory Gulik: "Re: Solaris works! New problem."</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0099.html">Mark Stewart: "SCSI recommendations; pardon my manners"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0090.html">Joern Clausen: "Re: Solaris works! New problem."</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#100">[ date ]</A>
<A HREF="index.html#100">[ thread ]</A>
<A HREF="subject.html#100">[ subject ]</A>
<A HREF="author.html#100">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Joern Clausen wrote:
<BR>
<EM>&gt; On the one hand, LD_LIBRARY_PATH does not work in this case, you would
</EM><BR>
<EM>&gt; have to set LD_RUN_PATH. On the other hand, these two environment
</EM><BR>
<EM>&gt; variables are IMHO the wrong solution under Solaris. I personally have
</EM><BR>
<EM>&gt; tweaked all those xyz-config scripts that come with Gtk, Gimp, Imlib etc,
</EM><BR>
<EM>&gt; to return parallel to the -L option the -R option, when called with --libs.
</EM><BR>
<EM>&gt; My gtk-config returns
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; fasil:/homes/jc&gt; gtk-config --libs
</EM><BR>
<EM>&gt; -L/vol/gtk-1.2.8/lib -R/vol/gtk-1.2.8/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; and usually configure scripts work out of the box. Ok, Gimp's don't,
</EM><BR>
<EM>&gt; because the developers decided to parse the result of gtk-config and
</EM><BR>
<EM>&gt; throw out everything that does not look like '-L...', but that's a
</EM><BR>
<EM>&gt; different, though sad story.
</EM><BR>
<P>Ok, for the sake of just getting it working for now I tried setting the
<BR>
LD_RUN_PATH to be the same as my LD_LIBRARY_PATH:
<BR>
<P>$ echo $LD_RUN_PATH
<BR>
/usr/X11R6/lib:/usr/openwin/lib:/usr/local/lib:/usr/local/xpm/lib:/usr/local/kde/lib:/opt/gtk/lib:/opt/gnome/lib
<BR>
<P>I re-installed all the libraries under /usr/local/lib instead of the
<BR>
/opt/gtk/lib it was before.
<BR>
<P>$ ls /usr/local/lib/libgmodule*
<BR>
/usr/local/lib/libgmodule-1.2.so.0 /usr/local/lib/libgmodule.la
<BR>
/usr/local/lib/libgmodule-1.2.so.0.0.6 /usr/local/lib/libgmodule.so
<BR>
/usr/local/lib/libgmodule.a
<BR>
<P><P>Yet when I try to run xscanimage I still get:
<BR>
<P>$ xscanimage
<BR>
ld.so.1: xscanimage: fatal: libgmodule-1.2.so.0: open failed: No such file or
<BR>
directory
<BR>
Killed
<BR>
<P>I then used your suggestion and re-linked the xscanimage program
<BR>
with the library path specified with both the -L and -R arguments
<BR>
and it now runs but I'm back to the problem of it not finding my scanner
<BR>
on /dev/scg1c, which it DID do for a short time.
<BR>
<P><P><PRE>
--
Greg Gulik <A HREF="http://www.drivingevents.com/">http://www.drivingevents.com/</A>
<A HREF="mailto:greg@gulik.org?Subject=Re:%20Solaris%20works!%20%20New%20problem.&In-Reply-To=&lt;3A84155A.3EB25AA2@gulik.org&gt;">greg@gulik.org</A> or <A HREF="mailto:greg@gagme.com?Subject=Re:%20Solaris%20works!%20%20New%20problem.&In-Reply-To=&lt;3A84155A.3EB25AA2@gulik.org&gt;">greg@gagme.com</A> <A HREF="http://www.gagme.com/~greg/">http://www.gagme.com/~greg/</A>
<P>--
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:%20Solaris%20works!%20%20New%20problem.&In-Reply-To=&lt;3A84155A.3EB25AA2@gulik.org&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0101.html">Gregory Gulik: "Re: Solaris works! New problem."</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0099.html">Mark Stewart: "SCSI recommendations; pardon my manners"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0090.html">Joern Clausen: "Re: Solaris works! New problem."</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#100">[ date ]</A>
<A HREF="index.html#100">[ thread ]</A>
<A HREF="subject.html#100">[ subject ]</A>
<A HREF="author.html#100">[ 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>Fri Feb 09 2001 - 08:04:28 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>