Pessoal, estou com problema ao instalar o postgresql via Ports.
Aparece a mensagem:
/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.8: unsupported file layout

A história completa, para quem tiver paciência de ler, é a seguinte:
de inicio eu assumo que fiz cagada...

Tinha em uma máquina instalado o postgresql82, então **não** fiz
backup e coloquei o postgresql83
Nisso o postgresql me disse "o diretório de dados está na versão 82"
Removi o postgresql83 e tentei voltar para a versão para o
postgresql82, mas deu isso:
----------------------------
[EMAIL PROTECTED] /usr/ports/databases/postgresql82-server]# make
/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.8: unsupported file layout
===>  postgresql-server-8.2.7 cannot install: unknown PostgreSQL version: .
*** Error code 1
Stop in /usr/ports/databases/postgresql82-server.
----------------------------

por sorte eu tinha inteiro o /usr/src da época que eu instalei essa
máquina, então:
----------------------------
cd /usr/src
make cleanworld && make clean && make cleandepend
make buildworld
reboot        (single mode... boot -s no prompt)
mount -a
cd /usr/src
mergemaster -p
make installworld
make delete-old
mergemaster
reboot
cd /usr/src
make delete-old-libs
----------------------------

mas... continuou o problema
----------------------------
[EMAIL PROTECTED] /usr/ports/databases/postgresql82-server]# make
/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.8: unsupported file layout
===>  postgresql-server-8.2.7 cannot install: unknown PostgreSQL version: .
*** Error code 1
Stop in /usr/ports/databases/postgresql82-server.
----------------------------

Então desisti de colocar a 8.2 para tentar fazer backup, afinal essa
máquina é apenas para testes...
e ai fui colocar a 8.3 de novo... entretanto:
----------------------------
[EMAIL PROTECTED] /usr/ports/databases/postgresql83-server]# make
/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.8: unsupported file layout
===>  postgresql-server-8.3.1 cannot install: unknown PostgreSQL version: .
*** Error code 1
Stop in /usr/ports/databases/postgresql83-server.
----------------------------

O pouco que achei no google diz:
http://www.fug.com.br/historico/html/freebsd/2004-02/msg00524.html

Tentei fazer, mas...
----------------------------
[EMAIL PROTECTED] /usr/ports]# portupgrade -fr devel/gettext
[Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 19
packages found (-0 +19) ................... done]
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 18287
port entries found
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000..
..... done]
** Makefile possibly broken: ftp/pure-ftpd:
        /libexec/ld-elf.so.1: /usr/local/lib/libintl.so.8: unsupported
file layout
        pure-ftpd-1.0.21_2
        cannot install: unknown PostgreSQL version:
        from /usr/local/sbin/portupgrade:622:in `main'
        from /usr/local/sbin/portupgrade:613:in `each'
        from /usr/local/sbin/portupgrade:613:in `main'
        from /usr/local/sbin/portupgrade:588:in `catch'
        from /usr/local/sbin/portupgrade:588:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
        from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order'
        from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch'
         ... 6 levels...
        from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
        from /usr/local/sbin/portupgrade:229:in `new'
        from /usr/local/sbin/portupgrade:229:in `main'
        from /usr/local/sbin/portupgrade:2173
[EMAIL PROTECTED] /usr/ports/ports-mgmt/portupgrade]# cd /usr/ports
[EMAIL PROTECTED] /usr/ports]# portupgrade -fr devel/gettext
** Makefile possibly broken: ftp/pure-ftpd:
        /libexec/ld-elf.so.1: /usr/local/lib/libintl.so.8: unsupported
file layout
        pure-ftpd-1.0.21_2
        cannot install: unknown PostgreSQL version:
/usr/local/sbin/portupgrade:1433:in `get_pkgname': Makefile broken
(MakefileBrokenError)
        from /usr/local/sbin/portupgrade:622:in `main'
        from /usr/local/sbin/portupgrade:613:in `each'
        from /usr/local/sbin/portupgrade:613:in `main'
        from /usr/local/sbin/portupgrade:588:in `catch'
        from /usr/local/sbin/portupgrade:588:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
        from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order'
        from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch'
         ... 6 levels...
        from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
        from /usr/local/sbin/portupgrade:229:in `new'
        from /usr/local/sbin/portupgrade:229:in `main'
        from /usr/local/sbin/portupgrade:2173
[EMAIL PROTECTED] /usr/ports]# cd databases/postgresql82-server/
[EMAIL PROTECTED] /usr/ports/databases/postgresql82-server]# make
/libexec/ld-elf.so.1: /usr/local/lib/libintl.so.8: unsupported file layout
===>  postgresql-server-8.2.7 cannot install: unknown PostgreSQL version: .
*** Error code 1
Stop in /usr/ports/databases/postgresql82-server.
/usr/local/sbin/portupgrade:1433:in `get_pkgname': Makefile broken
(MakefileBrokenError)
----------------------------

Esta máquina é um 'amd64' e está com o FreeBSD 6.2, está (erm...
estava) rodando sem problemas desde 17 de abril de 2007.
[EMAIL PROTECTED] /usr/ports/databases/postgresql82-server]# uname -a
FreeBSD db.telemanager.local 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Apr
17 11:47:37 BRT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DB-TELEMANAGER  amd64

Alguma luz? Obrigado.

-- 
Marcelo Rossi
"This e-mail is provided "AS IS" with no warranties, and confers no rights."
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a