Re: Building DBD::Informix v.060 on SCO OS 5.0.5
Posted in 1999
On Wed, 15 Dec 1999, Alex Barylo wrote: >I'm trying to build DBD::Informix v0.60/062. No luck. Built and >installed DBI v1.13. Tried both with dynamic loading and linked into >perl statically. DBI tests work OK but still no luck with >DBI::Informix. > >It gets built without errors, but tests fail. In my last case (dynamic >perl with statically linked into it DBI) I got the following message >trying to run tests: > >Can't load '/usr/local/lib/perl5/5.00503/i386-sco/auto/IO/IO.so' for >module IO: dynamic linker: /usr/bin/perl: relocation error: symbol not >found: Perl_croak at >/usr/local/lib/perl5/5.00503/i386-sco/DynaLoader.pm line 169. > >I found several similar messages at deja.com asking for help but no >answers. > >Did anyone succesfully build Informix driver under SCO OS 5.0.5 at >all? Please share your precious knowledge. > >My system: >- OS: SCO OS 5.0.5 >- Patches: rs505a, oss497c, oss497b, oss499a, oss600a >- cc: 5.1.1A 27Jul98 >- ld: 5.5.1A 05Feb99 >- Informix: IDS 7.31.UC2 >- esql: 7.23.UC6 >- perl: 5.005_03 Please read the file Notes/bug.reports in the 0.62 release, and send the requested information (run the BugReport script, and it looks like a category C problem). Then, if you send the messages to me (preferably in the correct forums, as documented in the README file, etc), I can probably help you. However, SCO is not notorious for having good shared library support, and I don't know whether the Informix ESQL/C shared libraries on SCO are really usable by DBD::Informix. You may end up having to do a 'make static'; the file Notes/static.build etc. Do you use 'ld' or 'cc' to create shared libraries? If you use 'ld', you can expect more problems than if you use 'cc', in my experience. However, that experience does not extend to a sufficiently recent version of SCO to be of any use (Xenix didn't really have shared libraries). It may be significant that no-one who responded to my census in November listed SCO as one of their platforms. -- Yours, Jonathan Leffler (jonathan.leffler@informix.com) #include <disclaimer.h> Guardian of DBD::Informix v0.62 -- http://www.perl.com/CPAN "I don't suffer from insanity; I enjoy every minute of it!"