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>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_009C_01C103E8.C414D480
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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=3D/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?=20

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

------=_NextPart_000_009C_01C103E8.C414D480
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_009C_01C103E8.C414D480--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




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