Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 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.


Comment on sybperl for cygwin
Replies are listed 'Best First'.
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.


      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.


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 ( to build under cygwin, and that uses the same libraries, so it should be possible.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2015-12-01 06:31 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (795 votes), past polls