Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6622139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:22:06+00:00 2026-05-25T21:22:06+00:00

I am having trouble building sqsh against freetds . This post cross-references with https://sourceforge.net/projects/sqsh/forums/forum/365924/topic/4716627

  • 0

I am having trouble building sqsh against freetds. This post cross-references with 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 do not have Sybase installed on this machine. I shouldn’t need it.)

SYBASE=/usr/local/freetds; export SYBASE
./configure --with-readline

I’ve checked the Makefile, it seems to be right given what I’ve read.

SYBASE_LIBS = -lct -ltds -lnsl -ldl -lm

When I run make, I get(after building a bunch of stuff):

make
... 
...[build output]...
...
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 sqsh_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_varbuf.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?

Any ideas?

Reference on freetds mailing list.
Reference on sqsh help forum.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:22:06+00:00Added an answer on May 25, 2026 at 9:22 pm

    When editing src/Makefile, get rid of -ltds (as suggested here) and change -ldl to -liconv. I got that last bit from the cygwin version of the sqsh README.

    I used SYBASE=/usr/local/freetds/.

    After that I had to set the LD_LIBRARY_PATH=$SYBASE/lib/:/usr/local/lib/ to get the freetds and liconv libraries.

    Big thanks to the freetds mailing list. http://lists.ibiblio.org/pipermail/freetds/2011q3/027382.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble building a query. I can do what I want in 3
I'm building a processing pipeline with NServiceBus but I'm having trouble with the configuration
I'm building a simple web-based RSS reader in Python, but I'm having trouble parsing
I'm building my first ASP.NET MVC application and I am having some troubles with
Im having trouble using a .NET COM in vb6, It compiles ok and I
I am having trouble building a gem. When I run rake it gives the
I'm building a simple interpreter in python and I'm having trouble handling differing numbers
I am building an Eclipse RCP application and am having trouble on settings the
I'm having trouble finding a clear explanation of connection pooling. I'm building an app
I'm building an application in ruby using the sinatra framework and am having trouble

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.