Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

sybperl for cygwin

by mdupont (Scribe)
on Nov 13, 2001 at 21:27 UTC ( #125088=perlquestion: print w/ replies, xml ) Need Help??
mdupont has asked for the wisdom of the Perl Monks concerning the following question:

Dear PerlMonks, I am an avid user of sybase, perl and cygwin under win2k. I have been trying to port the Sybase::CTLib and sybperl to cygwin.

Currently I have followed the advice from peter http://www.cygwin.com/ml/cygwin/1999-12/msg00302.html and I will be looking into the work from the sqlsh port for some tips.

I am having a problem creating a linkable ctlib.a for the existing ctlib.dll and ctlib.lib

But I have the feeling that someone else might have done this, and I figured that I will ask before I continue if you have any experience or tips on this matter.

mdupont

Comment on sybperl for cygwin
Re: sybperl for cygwin
by Asim (Hermit) on Nov 13, 2001 at 21:42 UTC

    If you like the challenge, don't let me stop you -- it's always cool to test your abilities and knowledge. At the same time, I wonder if you'd be better off moving to the better-supported DBI setup, and using something like Apache::DBI for persistence.

    Just some ideas to think about. And, of course, you may have very valid reasons for using sybperl, in which case please continue, and good luck.

    ----Asim, known to some as Woodrow.

      Asim,

      There is a difference between DBD::Sybase and sybperl which I both use. They depend on the c-library ctlib, of which there is a replacement freetds that also works with sybperl.

      Point being the problems with linking to a windows library using cygwin.

      The code in DBD::Sybase also uses the base of the sybperl functionality of the open client library.

      mdupont

Re: sybperl for cygwin
by mpeppler (Vicar) on Nov 14, 2001 at 02:51 UTC
    What sort of problems do you have?

    I'm not familiar with cygwin (or Windows in general :-), but a failed link is usually the sign that you are missing a library, or something like that.

    I know that Scott Gray gets sqsh (http://www.sqsh.org/) to build under cygwin, and that uses the same libraries, so it should be possible.

    Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://125088]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (14)
As of 2014-07-24 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls