Opened 15 years ago

Closed 13 years ago

#21055 closed defect (worksforme)

freetds: Undefined symbols _tds_sys_iconv_close _tds_sys_iconv_open _tds_sys_iconv

Reported by: jczapa@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: freetds

Description

After I upgraded my MacBook Pro to snow Leopard the odbc stopped working. I tried to reinstall freetds but it keeps giving me an error.

I followed the instructions on http://trac.macports.org/wiki/Migration but unfortunately didn't help my cause.

I'm attaching the debug file

Attachments (2)

installingfreetds.debug (3.9 KB) - added by jczapa@… 15 years ago.
freetds.txt.bz2 (8.7 KB) - added by jczapa@… 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by jczapa@…

Attachment: installingfreetds.debug added

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Port: freetds added
Summary: Unable to install freetds on Snow Leopardfreetds: Undefined symbols _tds_sys_iconv_close _tds_sys_iconv_open _tds_sys_iconv

freetds builds for me on Snow Leopard, and the output you attached does not show everything that happened so I cannot compare it to my system. Could you please try installing again, immediately after cleaning, and send the full debug output? Use these three commands to do so:

sudo port clean freetds
sudo port -d install freetds build.jobs=1 2>&1 | tee ~/desktop/freetds.txt
bzip2 ~/desktop/freetds.txt

Then attach freetds.txt.bz2 from your desktop to this ticket.

Changed 15 years ago by jczapa@…

Attachment: freetds.txt.bz2 added

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

Resolution: worksforme
Status: newclosed

First significant difference between your log and mine is this in the configure output:

checking for iconv... no, consider installing GNU libiconv

vs

checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);

Considering the age of this ticket and the fact that this could easily be caused by not migrating to 10.6 correctly I'm just going to close it. If this problem still affects you, feel free to reopen (you'll need to attach the config.log).

Note: See TracTickets for help on using tickets.