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?
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
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 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.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
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.