Can't make SQSH 2.1.7 with freetds 0.91
Casey Boardman <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <833E9AA56926514AB3B3A4DA29913556401CDE64@bfm-exchange2.batterymarch.com> |
Hi- I am having trouble building sqsh against freetds and I figured I should ask on this list as well as on https://sourceforge.net/projects/sqsh/forums/forum/365924/topic/4716627. I've installed Freetds 0.91 from sunfreeware.com on Solaris 10. I've confirmed the installation as noted in Chapter 9 of the user guide. Following the sqsh notes from sqsh.org, I've set the SYBASE environment variable to /usr/local/freetds and run the configure script. I've checked the Makefile, it seems to be right given what I've read. When I run make, I get(after building a bunch of stuff): gcc -L/usr/local/freetds/lib -L/usr/local/lib cmd_alias.o cmd_bcp.o cmd_buf.o cmd_connect.o cmd_do.o cmd_echo.o cmd_exit.o cmd_for.o cmd_func.o cmd_go.o cmd_help.o cmd_history.o cmd_if.o cmd_input.o cmd_jobs.o cmd_kill.o cmd_lock.o cmd_loop.o cmd_misc.o cmd_read.o cmd_reconnect.o cmd_redraw.o cmd_reset.o cmd_return.o cmd_rpc.o cmd_set.o cmd_shell.o cmd_show.o cmd_sleep.o cmd_wait.o cmd_warranty.o cmd_while.o var_ctlib.o var_date.o var_debug.o var_dsp.o var_hist.o var_misc.o var_passwd.o var_readline.o var_thresh.o dsp.o dsp_bcp.o dsp_csv.o dsp_conv.o dsp_desc.o dsp_horiz.o dsp_html.o dsp_meta.o dsp_none.o dsp_out.o dsp_pretty.o dsp_vert.o dsp_x.o sqsh_alias.o sqsh_args.o sqsh_avl.o sqsh_buf.o sqsh_cmd.o sqsh_compat.o sqsh_ctx.o sqsh_debug.o sqsh_env.o sqsh_error.o sqsh_expand.o sqsh_fd.o s qsh_filter.o sqsh_fork.o sqsh_func.o sqsh_getopt.o sqsh_global.o sqsh_history.o sqsh_init.o sqsh_job.o sqsh_readline.o sqsh_sig.o sqsh_sigcld.o sqsh_stdin.o sqsh_strchr.o sqsh_tok.o sqsh_var buf.o sqsh_main.o -lct -ltds -lnsl -ldl -lm -lreadline -lcurses -o sqsh ld: warning: global symbol `_END_' has non-global binding: (file /usr/local/freetds/lib/libct.so value=LOCL); ld: warning: global symbol `_START_' has non-global binding: (file /usr/local/freetds/lib/libct.so value=LOCL); ld: fatal: file /usr/local/freetds/lib/libtds.a: unknown file type ld: fatal: File processing errors. No output written to sqsh collect2: ld returned 1 exit status make[1]: *** [sqsh] Error 1 make[1]: Leaving directory `/opt/BFMIfiles/src/sqsh-2.1.7/src' make: *** [build-subdirs] Error 2 Is the error related to this: http://www.freetds.org/faq.html#where.is.libtds.so? I'm out of ideas; any help would be greatly appreciated. Thanks. -Casey This message is intended for the addressee only and may contain privileged or confidential information. Unless you are the intended recipient, you may not use, copy or disclose to anyone any information contained in this message. If you have received this message in error, please notify the author by replying to this message and then kindly delete the message. Thank you.