A A A

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Undefined first referenced symbol in file gzopen64 pg_backup_archiver.o
February 9, 2015
11:24 am
Lo0oM
Admin
Forum Posts: 217
Member Since:
September 30, 2012
Offline

Hi

 

Description:

OS Solaris 10 SPARC 5.10 Generic_150400-14 sun4v sparc SUNW,Sun-Fire-T1000, DB PostgreSQL 8.3.7 compilation. On make check i got error:

 

Undefined                       first referenced
 symbol                             in file
gzopen64                            pg_backup_archiver.o
ld: fatal: symbol referencing errors. No output written to pg_dump
collect2: ld returned 1 exit status
make[3]: *** [pg_dump] Error 1
make[3]: Leaving directory `/opt/inst1/postgresql-8.3.7/src/bin/pg_dump'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/inst1/postgresql-8.3.7/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/inst1/postgresql-8.3.7/src'
make: *** [all] Error 2

That is a problem with zlib library.

 

Solution:

1. Run next commands:

# pkginfo |grep zlib

application SMCzlib                          zlib
system      SUNWzlib                         The Zip compression library

I see that 2 zlib's are installed and compiler trying to look in to wrong one:

# pkgrm SMCzlib

 

Now need to reconfigure and make again:

# ./configure --without-readline

# make check

# make install

 

All works.

 

Thank you.

 

Forum Timezone: UTC 0

Most Users Ever Online: 31

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 0

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 20

Topics: 214

Posts: 214

Newest Members: Lo0oM

Administrators: Lo0oM (217)