[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 3.1 update



On Sat, May 18, 2002 at 06:04:22AM +0200, Han wrote:

> After I build gcc3 I got this when trying to install the new python.
> 
>   [/usr/ports/lang/python/2.2]# env FLAVOR=no_tkinter make install
>   ===>  Installing python-2.2.1 from
>   /usr/ports/packages/i386/All/python-2.2.1.tgz
>   ldconfig: /usr/ports/lang/egcs/stable/w-gcc-3.1/fake-i386/usr/local/lib/fpic: No such file or directory
>   ldconfig: /usr/ports/lang/egcs/stable/w-gcc-3.1/fake-i386/usr/local/lib: No such file or directory
>   pkg_add(python-2.2.1): command '/sbin/ldconfig -m /usr/local/lib' failed
> 
> No I didn't build python with gcc3 ;)

Looks like ldconfig added those dirs during the gcc fake process.
Try

# ldconfig -U /usr/ports/lang/egcs/stable/w-gcc-3.1/fake-i386/usr/local/lib/fpic
# ldconfig -U /usr/ports/lang/egcs/stable/w-gcc-3.1/fake-i386/usr/local/lib
# ldconfig -R

Or, if you've rebooted since, the problem is already fixed.



Visit your host, monkey.org