On Mon, Jul 07, 2003 at 10:56:32AM -0500 or thereabouts, Kris Yates wrote:
> Hello,
> 
> First of all, I dont think I am subscribed to the list.  Please send 
> your replies directly to my email address, as I dont have time to check 
> the list archives as often as I would like.
> 
> I have a 4.6-stable box, which seems to be running fine.  I installed a 
> PHP extension recently, which requires libc.so.6.  My box currently uses 
> libc.so.4.  Two questions..
> 
> 1)   When I upgrade from libc.so.4 to libc.so.6, do I need to recompile 
> anything like mail or web servers?  I am running php 4.3.2, Apache 1.3, 
> the latest stable postfix port and some other basic  stuff.
> 
> 2)   I assume I upgrade the glib port to upgrade libc.so, right?  What 
> worries me about just "going for it" is the following info from 
> "pkg_version -vv | grep lib":
> 
> glib-1.2.10_5                       <   needs updating (port has 1.2.10_9)
> glib-1.3.1                          >   succeeds port (port has 1.2.10_9)

Glib has *nothing* to do with libc.

> 
> My last install supercedes the port.  I dont remember why or how.  
> Anyway, I am nervous about breaking something.. it has been awhile.  Can 
> someone show me the light in the way of good advise to safely move to 
> libc.so.6 from libc.so.4 in relation to info herein?  :) Thanks,

The latest version of FreeBSD libc is libc.so.5 (with 5.x). libc.so.6 is
also called glibc-2.x.x, and it's used for Linux. (You can find libc.so.6
in /compat/linux/lib).

You need to enable linux compatibility on your PHP extension.
Run `file /my/extension' -- if it says anything about ELF, run
`brandelf -f 3 /my/extension'. Now running `file /my/extension'
should return something like: [probably not exact]
/my/extension: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux)...
                                                The important part  ^^^^^^^^^^^

Hope this helps!

-- Josh

> 
> Kris
> [EMAIL PROTECTED]
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to