Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

gcc ( loader) ld in interix doesnt support shared libraries

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> gcc ( loader) ld in interix doesnt support shared libraries Page: [1]
Login
Message << Older Topic   Newer Topic >>
gcc ( loader) ld in interix doesnt support shared libra... - Mar. 31, '06, 5:07:41 AM   
korona_lite

 

Posts: 19
Joined: Nov. 7, '05,
Status: offline
I am trying to port odbc drivers for mysql ( myodbc-connector), the configure script of this package says "ld" on interix does not support shared library.

Is it correct ?
is there a work around because i odbc-driver manager ( unixODBC) needs shared libraries of the drivers.
Post #: 1
RE: gcc ( loader) ld in interix doesnt support shared l... - Mar. 31, '06, 12:18:05 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Shared libraries and DSO's are supported on Interix.
You need to use gcc for this, not c89.
The configure script is likely not configured with the information.
You can adjust the configure script.
An example that can be looked at is the libincov sources on
the ftp site (src/libiconv) and scan through the configure script
for "interix". Then make matching changes.

(in reply to korona_lite)
Post #: 2
RE: gcc ( loader) ld in interix doesnt support shared l... - Apr. 2, '06, 9:12:59 AM   
korona_lite

 

Posts: 19
Joined: Nov. 7, '05,
Status: offline
Thanks Rodney!

I modified configure script for both the packages (mysql-connector ) and (mysql-4.1.15) and i was able to build the shared libs.

I have a working version of myodbc-3.51.15 which works with unixODBC on interix, How can i contribute it ??

-sunil arora

(in reply to Rodney)
Post #: 3
RE: gcc ( loader) ld in interix doesnt support shared l... - Apr. 2, '06, 11:32:09 AM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Cool.
Have you run all of the test cases?
I've built MySQL before and the client side worked fine but the server side
had something that would "jam" when the tests were running.

It's best to have the binary part of the contribution in the package and also
to have a copy of the sources to meet the GPL. The manual page on pkg_create
has information on building a package. It's best to read that man page first to
get an information base about what needs to be done. Let me know what questions
you have after that.

(in reply to korona_lite)
Post #: 4
RE: gcc ( loader) ld in interix doesnt support shared l... - Apr. 8, '06, 7:15:25 AM   
korona_lite

 

Posts: 19
Joined: Nov. 7, '05,
Status: offline
sorry rodney,
was busy with some things here so couldnt respond.
myodbc driver is working correctly so far. I will look at the pkg_create page and will get back to you.

I am going to try my hands on net-snmp today. let see how it goes.

(in reply to Rodney)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> gcc ( loader) ld in interix doesnt support shared libraries Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.156