Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 17:51:19 +0200
From:      "Gino Thomas" <ingram@vc-protect.net>
To:        <freebsd-newbies@freebsd.org>
Subject:   Library Path problems
Message-ID:  <009f01c103d8$00a7a2d0$ae02a8c0@d01pc174>

index | next in thread | raw e-mail

[-- Attachment #1 --]
greetings,

as you can assume i am an newbie in freebsd an got massive problems with the environment of libs.

In many cases, when i tried to compile a sourcecode/pkg i get messages like:

*** You need the Midgard library for using mod_midgard.      ***
*** Use the --with-midgard option to tell                    ***
*** the configure script where to look for the library.      ***
*** Check also that both the Midgard library and the MySQL   ***
*** client library are on your dynamic library load path.    ***
configure: error: Midgard library libmidgard not found

But all libs are installed din /usr/local/lib:

bamp# find / -name "*libmidg*"
/usr/local/lib/libmidgard.so.4
/usr/local/lib/libmidgard.so
/usr/local/lib/libmidgard.la
/usr/local/lib/libmidgard.a
etc.

Even if i compiled the source with "--with-here-are-your-librarys=/usr/local/lib" i get errors like this.

Another example:

/usr/libexec/ld-elf.so.1: Shared object "libintl.so.1" not found

The "ELF" lib *is* installed, so i assume that something in my system configuration went
wrong. Must i edit /etc/login.conf? If so how? 

Please help, i am going crazy with this library stuff :(

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>greetings,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>as you can assume i am an newbie in freebsd an got 
massive problems with the environment of&nbsp;libs.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In many cases, when i tried to compile a 
sourcecode/pkg i get messages like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>*** You need the Midgard library for using 
mod_midgard.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ***<BR>*** Use the --with-midgard 
option to 
tell&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
***<BR>*** the configure script where to look for the 
library.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ***<BR>*** Check also that both the 
Midgard library and the MySQL&nbsp;&nbsp; ***<BR>*** client library are on your 
dynamic library load path.&nbsp;&nbsp;&nbsp; ***<BR>configure: error: Midgard 
library libmidgard not found<BR></DIV>
<DIV><FONT face=Arial size=2>But all libs are installed din 
/usr/local/lib:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>bamp# find / -name 
"*libmidg*"<BR>/usr/local/lib/libmidgard.so.4<BR>/usr/local/lib/libmidgard.so<BR>/usr/local/lib/libmidgard.la<BR>/usr/local/lib/libmidgard.a<BR>etc.<BR></DIV>
<DIV><FONT face=Arial size=2>Even if i compiled the source with 
"--with-here-are-your-librarys=/usr/local/lib" i get errors like 
this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Another example:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>/usr/libexec/ld-elf.so.1: Shared object "libintl.so.1" not found<BR></DIV>
<DIV><FONT face=Arial size=2>The "ELF" lib *is* installed, so i assume that 
something in my system configuration went</FONT></DIV>
<DIV><FONT face=Arial size=2>wrong. Must i edit /etc/login.conf? If so how? 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Please help, i am going crazy with this library 
stuff :(</FONT></DIV></BODY></HTML>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009f01c103d8$00a7a2d0$ae02a8c0>