[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



The ldconfig program maintains a cache of shared object files, aka DLLs.
It looks like your program is trying to link to a static library file,
however, not a shared library.  So, even though ldconfig knows how to
find libtermcap.so, that doesn't help because your program wants to link
with libtermcap.a.  Make sure the link line in your Makefile passes the
library path with the -L option.

For example:

       gcc -o foo foo.o bar.o baz.o -ltermcap -L/usr/lib

The -L option tells gcc to look in the /usr/lib directory for .a files.
This of course assumes that libtermcap.a is in fact in /usr/lib.

HTH,
Jason
-- 
Jason Day                                       jasonday at
<a  rel="nofollow" href="http://jasonday.home.att.net";>http://jasonday.home.att.net</a>                    worldnet dot att dot net
 
&quot;Of course I'm paranoid, everyone is trying to kill me.&quot;
    -- Weyoun-6, Star Trek: Deep Space 9


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01118" href="msg01118.html">[ale] help with lib</a></strong>
<ul><li><em>From:</em> mhirsch at nubridges.com (Michael Hirsch)</li></ul></li>
<li><strong><a name="01119" href="msg01119.html">[ale] help with lib</a></strong>
<ul><li><em>From:</em> ringodavis at hotmail.com (ringo davis)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01124.html">[ale] help with lib</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01126.html">[ale] help with lib</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01119.html">[ale] help with lib</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01124.html">[ale] help with lib</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01125"><strong>Date</strong></a></li>
<li><a href="threads.html#01125"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>