List Info

Thread: Re: linux_base-f8 giving me guff




Re: linux_base-f8 giving me guff
user name
2008-04-30 02:18:54
Alexander Leidinger wrote at 08:22 +0200 on Apr 30, 2008:
 > Quoting John E Hein <jheintiming.com> (from Tue,
29 Apr 2008 14:26:02 -0600):
 > > Boris Samorodov wrote at 22:13 +0400 on Apr 29,
2008:
 > >  > We have packages for that purpose... Or I
didn't understand you.
 > >
 > > Q: How do packages get built?
 > > A: By running 'make package' which does a 'make
install'
 > >
 > > So, the problem Kostik described still exists.
 > >
 > > When does the ldconfig really need to be run?  At
package build time
 > > or at pkg_add time?

Those were rhetorical questions, by the way - I was trying
to
emphasize that packages don't work around the problem
because the act
of building the package can trip over the problem.


 > At package install time. And if you look at the
pkg-install script you  
 > will see that it is run then. The problem is, that you
don't really  
 > know if the installation is just to create a package,
or if the user  
 > also wants to use the port after the installation (I
create a package  
 > after each update of a port). Have a look around in
other ports, all  
 > ports will do the pkg-install stuff during
installation too.

That's why having a knob to allow the user to specify that
linux
ldconfig should not be run at install time would be useful. 
As you
rightly mention there are ports that run other linux
programs as well,
but these can be addressed case by case, whereas ldconfig is
in
bsd.*.mk and so it can be addressed more generally.

Anyway, I just wanted to answer the question posed asking
for examples where ld.so.cache need not be updated.
_______________________________________________
freebsd-emulationfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emu
lation
To unsubscribe, send any mail to
"freebsd-emulation-unsubscribefreebsd.org"

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )