[FUG-BR] Prog em C que roda no 4.8 nao roda no 6.1..

Eder ederbsd em gmail.com
Segunda Novembro 27 00:14:12 BRST 2006


Olá

A lib.so.4 é naturalmente da série 4.x.

Você pode como já citado abilitar a compatibilidade com a série 4.x
no seu kernel, também é interessante prefixar no /etc/make.conf a
diretiva.

COMPAT4X=yes

No seu kernel verifique se exite a diretiva,

options COMPAT_FREEBSD4

Ou fazer isso mais não é a maneira mais elegante.

# ln -sf /usr/lib/libc.so /usr/lib/lib.so.4
# ldconfig -elf -R

Att, Eder

On 11/27/06, m3 BSD <m3.bsd.mania at gmail.com> wrote:
> experimente buscar por "libc.so*" e crie um link simbolico... nao eh
> muito limpo :) mas funciona >:)
>
> 2006/11/27, Ricardo Nabinger Sanchez <rnsanchez at gmail.com>:
> > On Sun, 26 Nov 2006 17:20:19 -0800 (PST)
> > Tempra Turbo <leonardolinden at yahoo.com> wrote:
> >
> > > /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by
> > > "chatgateway"
> > >
> > > Alguem sabe o que pode ser ?
> > > como resovler ?
> >
> > aparentemente tu precisa do compat4, para compatibilidade com binários
> > compilados (ou que ligam com bibliotecas) para FreeBSD-4.
> >
> > --
> > Ricardo Nabinger Sanchez     <rnsanchez@{gmail.com,wait4.org}>
> > Powered by FreeBSD
> >
> >   "Left to themselves, things tend to go from bad to worse."
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
>
>
> --
> Atenciosmente
>
> Mario Augusto Mania <m3BSD>
> -----------------------------------------------
> m3.bsd.mania at gmail.com
> Cel.: (43) 9938-9629
> Msn: mario at oquei.com
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


-- 
"Do not worry about your difficulties in mathematics;
I can assure you that mine are still greater."
Albert Einstein


Mais detalhes sobre a lista de discussão freebsd