BookmarkSubscribeRSS Feed
MariaD
Barite | Level 11

Hi Folks,

 

We tried to build unixODBC driver on AIX 7.1 64-bits. We downloaded the latest unixODBC version from unixODBC project home page. We used gcc. As mentioned on Build unixODBC before we execute the configure command, we set the environment variables:

 

export CFLAGS=-maix64
export ARFLAGS="-X 64"
export OBJECT_MODE=64

 

After that, we executed the configure command without any problem. The following error appears when we tried to run "make" command. 

 

ld: 0711-317 ERROR: Undefined symbol: .lt_dlinit
ld: 0711-317 ERROR: Undefined symbol: .lt_dlopen
ld: 0711-317 ERROR: Undefined symbol: .lt_dlsym
ld: 0711-317 ERROR: Undefined symbol: .lt_dlclose

Stop.
make: The error code from the last command is 1.

 

 

Any idea what is going on?

 

 

4 REPLIES 4
Andy547
SAS Employee

Hi MariaD,

 

        Can you try adding a couple more exports before the configure

 

export NM='/usr/ccs/bin/nm -B -X64'

export PATH=$PATH:/usr/ccs/bin 

 

Where I assume the cc compiler is at /usr/ccs/bin 

 

Andy 

 

 

MariaD
Barite | Level 11

HI @Andy547,

 

I added new export as you mentioned but the error still the same. 

 

Regards,

SimonDawson
SAS Employee

@Kurt_Bremser wrote:

Make sure you have libtool installed, and that its library can be found via LIBPATH. Or it's included in the link line in the makefile.


@Kurt_Bremser has this nailed.  .lt_dlinit, .lt_dlopen, .lt_dlsym, and .lt_dlclose are all symbols that should come from GNU libtool.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1376 views
  • 1 like
  • 4 in conversation