PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "David A dot Guerrieri" <guerrier at Reston dot UnisysGSG dot COM>
Subject: FW: HELP!! (static linking)
Date: Feb 22 1996 6:30PM

I think I found a solution to my static linking problem when I was fixing something else.  I got the same error when trying to link web.sql with /usr/ccs/ld.  When I fixed the path to make /usr/ucb/ld the linker it linked fine.
(Solaris 2.5 on a Sparc 5)

I am using web.sql for the most part now, but a lot of the functions don't seem to work right.

Since you sounded interested:
I have to run the server as root or I get "document contains no data" when I try to access a .hts file.
I cannot use ws_connect because it says "no connections available".  ct_connect works ok.

Both problems probably have to do with some sort of permissions problem.  

Also, your Sybase database password can be no longer than 6 characters or it will cause an invalid login....looks like a bug in the password encryption algorithm.

Dave

----------
From: 	Michael Peppler[SMTP:mpeppler@itf.CH]
Sent: 	Wednesday, February 21, 1996 1:31 AM
To: 	SYBPERL-L@trln.lib.unc.edu
Cc: 	guerrier@Reston.UnisysGSG.COM
Subject: 	Re: HELP!!

> From: "David A. Guerrieri" 
> 
> I tried to go back and statically link sybperl, and everything seemed to =
> go fine (except that I didn't get a binary with the make test) until I =
> got down to the=20
> 
> make inst_perl MAP_TARGET=3Dperl
> 

[...etc...]

> ld: fatal: file /opt2/local/lib/perl5/sun4-solaris/auto/Sybase/Sybase.a: =
> unknown type, unable to process using elf(3E) libraries
> ld: fatal: File processing errors.  No output written to perl
> *** Error code 1
> make: Fatal error: Command failed for target `perl'
> 
> 

Get sybperl 2.03 and Perl 5.001m.

Michael