Opened 15 years ago

Closed 13 years ago

#21378 closed defect (worksforme)

postgresql84 8.4.1 client dies on Snow Leopard

Reported by: seanasy@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: jyrkiwahlstedt
Port: postgresql84

Description

The postgresql client dies with the following error on Snow Leopard. postgresql84 and dependencies are compiled for x86_64

sh-3.2$ whoami
postgres

sh-3.2$ psql84 [
psql84 (8.4.1)
Type "help" for help.

dyld: lazy symbol binding failed: Symbol not found: _tgetent
  Referenced from: /opt/local/lib/libreadline.6.dylib
  Expected in: flat namespace

dyld: Symbol not found: _tgetent
  Referenced from: /opt/local/lib/libreadline.6.dylib
  Expected in: flat namespace

Trace/BPT trap
sh-3.2$ file /opt/local/bin/psql84 
/opt/local/bin/psql84: Mach-O 64-bit executable x86_64
sh-3.2$ file  /opt/local/lib/libreadline.6.dylib
/opt/local/lib/libreadline.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64

Change History (8)

comment:1 Changed 15 years ago by tobypeterson

What about /opt/local/lib/libncurses.dylib ?

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Owner: changed from macports-tickets@… to mww@…

comment:3 in reply to:  1 Changed 15 years ago by seanasy@…

Replying to toby@…:

What about /opt/local/lib/libncurses.dylib ?

ncurses is also x86_64.

comment:4 Changed 15 years ago by lpackham@…

Works for me:

Lees-Macbook-Pro:~ lpackham$ file /opt/local/bin/psql84
/opt/local/bin/psql84: Mach-O 64-bit executable x86_64
Lees-Macbook-Pro:~ lpackham$ file  /opt/local/lib/libreadline.6.dylib
/opt/local/lib/libreadline.6.dylib: Mach-O 64-bit dynamically linked shared library x86_64
Lees-Macbook-Pro:~ lpackham$ file  /opt/local/lib/libncurses.dylib
/opt/local/lib/libncurses.dylib: Mach-O 64-bit dynamically linked shared library x86_64
Lees-Macbook-Pro:~ lpackham$ psql -U postgres 
psql (8.4.1)
Type "help" for help.

postgres=# 
postgres=# SELECT 1;
 ?column? 
----------
        1
(1 row)

postgres=# \q

comment:5 Changed 14 years ago by matt@…

Cc: matt@… added

Cc Me!

comment:6 Changed 14 years ago by matt@…

I found that upgrading to readline-6.1 fixed this.

comment:7 Changed 14 years ago by matt@…

Cc: matt@… removed

Cc Me!

comment:8 Changed 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.