List:General Discussion« Previous MessageNext Message »
From:April Escamilla Date:June 23 1999 6:44pm
Subject:Re: Problem with C API in mysql version 3.21.33b
View as plain text  
Sasha,

    Thanks for your input on all this.  I'll try out your suggestions and
see how it goes...
    We may just re-compile the mysql source if this doesn't work out..

thanks very very much,
april escamilla

-----Original Message-----
From: Sasha Pachev <sasha@stripped>
To: April Escamilla <aprile@stripped>
Cc: jimf@stripped <jimf@stripped>; mysql <mysql@stripped>
Date: Wednesday, June 23, 1999 12:53 PM
Subject: Re: Problem with C API in mysql version 3.21.33b


>April Escamilla wrote:
>>
>> >First try:
>> >cc -o mysql_test mysql_test.c -L/u/april/mysql -lmysqlclient
>>
>>     Tried that -- same error as I stated in the original email.
Actually,
>> my original email had a typo.  I typed " -llibmysqlclient" instead of
what I
>> had been testing " -lmysqlclient"  Sorry about the confusion with that.
>>
>> >Then:
>> >cc -static -o mysql_test mysql_test.c -L/u/april/mysql -lmysqlclient
>>
>>     This command doesn't work -- it says it doesn't understand the -a tic
>> command.  On our cc compiler, this command:
>>
>>     cc -o -static mysql_test mysql_test.c -L/u/april/mysql -lmysqlclient
>>
>> gives me an error saying "i386ld values-Xa.o fatal:Can't open file
>> mysql_test for input".  The man cc had nothing regarding the static
option.
>>
>> >If the latter works, but not the former then your complier was trying to
>> >link shared libs and they couldn't be found.
>>
>>     Any thoughts if they both fail?
>>
>> April
>>
>
>-static should go to the end of the command line, or somewhere where it
>does not mess up the argument to your -o switch, but that is not the
>problem.
>
>From what we have seen, it looks like you have some mysteriously
>misconfigured system - SCO Unix - right?  Don't know about you, but I
>really hate to be on a misconfigured system without root access and
>authorization to reconfigure it the way I like. Anyway, I remember the
>last time we stopped at the point where we needed to run cc with an
>verbose argument to the linker. I've never gotten that advanced on SCO,
>so you will need to figure out the following:
>
>- How do you make cc pass an argument to the linker?
>- How do you tell the linker (ld) to be verbose?
>
>man cc
>man ld
>
>Should give you the answer.
>
>
>--
>Sasha Pachev
>http://www.sashanet.com/ (home)
>http://www.direct1.com/ (work)
>
>---------------------------------------------------------------------
>Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
>posting. To request this thread, e-mail mysql-thread5742@stripped
>
>To unsubscribe, send a message to the address shown in the
>List-Unsubscribe header of this message. If you cannot see it,
>e-mail mysql-unsubscribe@stripped instead.
>
>

Thread
Problem with C API in mysql version 3.21.33bApril Escamilla23 Jun
Re: Problem with C API in mysql version 3.21.33bApril Escamilla23 Jun
  • Re: Problem with C API in mysql version 3.21.33bSasha Pachev23 Jun
Re: Problem with C API in mysql version 3.21.33bApril Escamilla23 Jun
  • Re: Problem with C API in mysql version 3.21.33bSasha Pachev23 Jun
Re: Problem with C API in mysql version 3.21.33bApril Escamilla26 Jun