Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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.


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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2018-06-23 05:42 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.