BookmarkSubscribeRSS Feed
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

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



Any idea what is going on?



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 





Barite | Level 11

HI @Andy547,


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



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 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

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