Subject: Re: problems with check/check-shlibs.mk on Linux
To: =?ISO-8859-2?Q?Ond=F8ej_T=F9ma?= <pkgsrc@blackmouse.biz>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 05/21/2007 12:13:42
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1354275045-1179767622=:103
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Mon, 21 May 2007, Ond=F8ej T=F9ma wrote:

> i have problems with %subj% on Linux. I'm getting errors like this:
>=20
> =3D> Checking for missing run-time search paths in cgilib-0.5nb3
> ERROR: /usr/pkg/libexec/cgi-bin/cgitest:        libcgi.so.0 =3D> not foun=
d
> ERROR: /usr/pkg/libexec/cgi-bin/jumpto:         libcgi.so.0 =3D> not foun=
d
> ERROR: *** The programs/libs shown above will not find the listed
> ERROR:     shared libraries at runtime.
> ERROR:     Please fix the package (add -Wl,-R.../lib in the right
> places)!
>=20
> i know, i can switch off this option, but when i do bulk builds, it's
> not too good idea :S
>=20
> what i found, problem is in ldconfig, which is not call before
> _check-shlibs rule, so what do you thing ? Have this problem someone
> another ? How can i solve this problem by another way then hack
> chack-shlibs.mk file ? Can i set some-there that ldconfig will be
> called before _check-shlibs rule ?


Software installed via pkgsrc should not need your ldconfig ran.

Notice the suggestion above:

ERROR:  Please fix the package (add -Wl,-R.../lib in the right places)!


  Jeremy C. Reed
--0-1354275045-1179767622=:103--