LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-04-2010, 02:39 PM   #1
markatcs
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Question Sybase from Perl


Ultimate goal: get DBD-Sybase working on Cygwin

Problem: Currently, I am trying to make the files in /DBD-Sybase-1.09 but I get a bunch of errors such as:


dbdimp.o:dbdimp.c.text+0x10224): undefined reference to `_ct_results@8'
...etc


After doing hours of research it seems that since I have Sybase 12 installed on Windows, I can't reference it from Cygwin/Linux. So I tried to install Sybase on Cygwin and ran into a ton of issue getting ASE to work, which are beyond my ability to resolve.

If someone much better versed in Unix/Cygwin could help me install a seperate version of Sybase 12 on Linux (without using ASE), then I think I will be able to make DBD-Sybase.

I am relatively new to Linux, so please bear with me.
 
Old 02-06-2010, 12:16 AM   #2
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,123

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Quote:
Originally Posted by markatcs View Post
Ultimate goal: get DBD-Sybase working on Cygwin

Problem: Currently, I am trying to make the files in /DBD-Sybase-1.09 but I get a bunch of errors such as:


dbdimp.o:dbdimp.c.text+0x10224): undefined reference to `_ct_results@8'
...etc


After doing hours of research it seems that since I have Sybase 12 installed on Windows, I can't reference it from Cygwin/Linux. So I tried to install Sybase on Cygwin and ran into a ton of issue getting ASE to work, which are beyond my ability to resolve.

If someone much better versed in Unix/Cygwin could help me install a seperate version of Sybase 12 on Linux (without using ASE), then I think I will be able to make DBD-Sybase.

I am relatively new to Linux, so please bear with me.
I know nothing about Sybase, but your error message looks very much like linker problem. When linker creates a program, it does so from a bunch of object files and/or libraries. The latter are searched in the list of directories provided by the linker caller, and typical way is specifying search paths through LDPATH environment variable, and maybe also through LD_LIBRARY_PATH environment variable. There other ways too.

The error message by itself is not sufficient to resolve your problem - the whole build process needs to be known.
 
  


Reply

Tags
cygwin


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sybase on linux sailu_mvn Linux - Software 6 08-24-2006 04:59 AM
unixODBC and sybase eantoranz Programming 3 12-20-2005 01:54 PM
C + Sybase mfrick Programming 0 12-08-2005 09:45 PM
PHP and Sybase snickers Programming 2 03-02-2005 08:23 PM
sybase with perl Xris718 Programming 0 02-18-2005 02:17 PM


All times are GMT -5. The time now is 05:31 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration