help -- dyld: /usr/bin/perl Undefined symbols:
От | Howie Eskin |
---|---|
Тема | help -- dyld: /usr/bin/perl Undefined symbols: |
Дата | |
Msg-id | 3DA1F539.7080409@caffelena.com обсуждение исходный текст |
Список | pgsql-interfaces |
Hi, I hope you can help me. I can't get the pg package running on a mac os 10.1 <br /> (perl, v5.6.0 built for darwin).<br/><br /> Here's the error message:<tt><br /></tt><blockquote><tt>alb-24-194-100-40:~/pgsql_perl5-1.9.0] howie%make test</tt><br /><tt> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perltest.pl</tt><br /><big><b><tt> dyld: /usr/bin/perl Undefined symbols:</tt></b></big><br /><tt> _ERR_get_error</tt><br/><tt> _ERR_reason_error_string</tt><br /><tt> _SSL_CTX_new</tt><br /><tt> _SSL_connect</tt><br /><tt>_SSL_free</tt><br /><tt> _SSL_library_init</tt><br /><tt> _SSL_load_error_strings</tt><br /><tt> _SSL_new</tt><br /><tt>_SSL_read</tt><br /><tt> _SSL_set_fd</tt><br /><tt> _SSL_write</tt><br /><tt> _SSLv23_method</tt><br /></blockquote>I don't know where to find these variables. Any suggestions? What am I doing wrong?<br /><br /> it said<br/> " <tt>Checking if your kit is complete...</tt><br /><tt> Looks good</tt>"<br /><br /> Many thanks for any help.<br/><br /> - Howie Eskin<br /> eskin@capital.net<br /><br /><br /> =============================================<br/><tt><br /> Here's my directory:<br /> [alb-24-194-100-40:~/pgsql_perl5-1.9.0]howie% ls -l<br /> total 680<br /> -rwxr-xr-x 1 howie staff 7028 Sep 9 17:32#test.pl#<br /> -rw-r--r-- 1 howie staff 4270 Apr 4 2000 Changes<br /> -rw-r--r-- 1 howie staff 93 Apr 4 2000 MANIFEST<br /> -rw-r--r-- 1 howie staff 22100 Sep 9 16:53 Makefile<br /> -rw-r--r-- 1 howie staff 1252Apr 4 2000 Makefile.PL<br /> -rw-r--r-- 1 howie staff 22100 Aug 23 20:31 Makefile.old<br /> -rw-r--r-- 1 howie staff 0 Sep 9 16:53 Pg.bs<br /> -rw-r--r-- 1 howie staff 41111 Sep 9 16:53 Pg.c<br /> -rw-r--r-- 1 howie staff 178460 Sep 9 16:53 Pg.o<br /> -rw-r--r-- 1 howie staff 15995 Apr 4 2000 Pg.pm<br /> -rw-r--r-- 1 howie staff 11509 Apr 4 2000 Pg.xs<br /> -rw-r--r-- 1 howie staff 4052 Apr 4 2000 README<br /> drwxr-xr-x 5 howie staff 264 Sep 9 16:53 blib<br /> drwxr-xr-x 5 howie staff 264 Aug 18 10:35 eg<br /> -rw-r--r-- 1 howie staff 2566 Sep 17 20:28 notes_hde.rtf<br /> -rw-r--r-- 1 howie staff 0 Sep 9 16:53 pm_to_blib<br /> -rwxr-xr-x 1 howie staff 7028 Apr 4 2000 test.pl<br /> -rw-r--r-- 1 howie staff 381 Sep 11 1998 typemap<br />[alb-24-194-100-40:~/pgsql_perl5-1.9.0] howie% <br /><br /></tt>Here's what happens:<tt><br /><br /></tt><blockquote><tt>Pleaseset environment variables </tt><br /><tt>POSTGRES_INCLUDE and POSTGRES_LIB !</tt><br /><tt>POSTGRES_INCLUDE=/library/PostgreSQL/include</tt><br/><tt>POSTGRES_LIB=/library/PostgreSQL/lib</tt><br /><br /><tt>MonSep 9 16:51:37 EDT 2002</tt><br /><br /><tt>/Users/howie/pgsql_perl5-1.9.0</tt><br /><tt>[alb-24-194-100-40:~/pgsql_perl5-1.9.0]howie% perl Makefile.PL</tt><br /><tt>Configuring Pg</tt><br /><tt>Rememberto actually read the README file !</tt><br /><tt>OS: darwin</tt><br /><tt>Checking if your kit is complete...</tt><br/><tt>Looks good</tt><br /><tt>Writing Makefile for Pg</tt><br /><tt>[alb-24-194-100-40:~/pgsql_perl5-1.9.0]howie% make</tt><br /><tt>mkdir blib</tt><br /><tt>mkdir blib/lib</tt><br /><tt>mkdirblib/arch</tt><br /><tt>mkdir blib/arch/auto</tt><br /><tt>mkdir blib/arch/auto/Pg</tt><br /><tt>mkdir blib/lib/auto</tt><br/><tt>mkdir blib/lib/auto/Pg</tt><br /><tt>mkdir blib/man3</tt><br /><tt>cp Pg.pm blib/lib/Pg.pm</tt><br/><tt>AutoSplitting blib/lib/Pg.pm (blib/lib/auto/Pg)</tt><br /><tt>/usr/bin/perl -I/System/Library/Perl/darwin-I/System/Library/Perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap-typemap typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c</tt><br /><tt>cc -c -I/library/PostgreSQL/include-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing-O3 -DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" -I/System/Library/Perl/darwin/CORE Pg.c</tt><br/><tt>cc: -flat_namespace: linker input file unused since linking not done</tt><br /><tt>Running Mkbootstrapfor Pg ()</tt><br /><tt>chmod 644 Pg.bs</tt><br /><tt>LD_RUN_PATH="/library/PostgreSQL/lib" cc -o blib/arch/auto/Pg/Pg.bundle -bundle -flat_namespace -undefined suppress Pg.o -L/library/PostgreSQL/lib -lpq </tt><br/><tt>chmod 755 blib/arch/auto/Pg/Pg.bundle</tt><br /><tt>cp Pg.bs blib/arch/auto/Pg/Pg.bs</tt><br /><tt>chmod 644blib/arch/auto/Pg/Pg.bs</tt><br /><tt>Manifying blib/man3/Pg.3</tt><br /><tt>[alb-24-194-100-40:~/pgsql_perl5-1.9.0] howie%date</tt><br /><tt>Mon Sep 9 16:53:41 EDT 2002</tt><br /><tt>[alb-24-194-100-40:~/pgsql_perl5-1.9.0] howie% </tt><br/><br /><tt>alb-24-194-100-40:~/pgsql_perl5-1.9.0] howie% make test</tt><br /><tt>PERL_DL_NONLAZY=1 /usr/bin/perl-Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin -I/System/Library/Perl test.pl</tt><br /><tt>dyld: /usr/bin/perlUndefined symbols:</tt><br /><tt>_ERR_get_error</tt><br /><tt>_ERR_reason_error_string</tt><br /><tt>_SSL_CTX_new</tt><br/><tt>_SSL_connect</tt><br /><tt>_SSL_free</tt><br /><tt>_SSL_library_init</tt><br /><tt>_SSL_load_error_strings</tt><br/><tt>_SSL_new</tt><br /><tt>_SSL_read</tt><br /><tt>_SSL_set_fd</tt><br /><tt>_SSL_write</tt><br/><tt>_SSLv23_method</tt><br /><tt>make: *** [test_dynamic] Error 67</tt><br /><tt>[alb-24-194-100-40:~/pgsql_perl5-1.9.0]howie% date</tt><br /><tt>Mon Sep 9 16:54:30 EDT 2002</tt><br /><tt>[alb-24-194-100-40:~/pgsql_perl5-1.9.0]howie% </tt><br /></blockquote><tt><br /></tt><tt>==================================================================<br/><br /><br /></tt><b>versions: </b><tt><br/><br /><br /> [alb-24-194-100-40:~/pgsql_perl5-1.9.0] howie% perl -v<br /><br /> This is perl, v5.6.0 built fordarwin<br /><br /> Copyright 1987-2000, Larry Wall<br /><br /> Perl may be copied only under the terms of either the ArtisticLicense or the<br /> GNU General Public License, which may be found in the Perl 5.0 source kit.<br /><br /> Completedocumentation for Perl, including FAQ lists, should be found on<br /> this system using `man perl' or `perldoc perl'. If you have access to the<br /> Internet, point your browser at <a class="moz-txt-link-freetext" href="http://www.perl.com/">http://www.perl.com/</a>,the Perl Home Page.<br /><br /> [alb-24-194-100-40:~/pgsql_perl5-1.9.0]howie% perl -V<br /> Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:<br/> Platform:<br /> osname=darwin, osvers=1.4, archname=darwin<br /> uname='darwin law 1.4 darwinkernel version 1.3: sun jul 22 16:20:35 pdt 2001; aramesh:buildobjrelease_ppc power macintosh powerpc '<br /> config_args='-ds-e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags='<br /> hint=recommended, useposix=true, d_sigaction=define<br/> usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef<br /> useperlio=undefd_sfio=undef uselargefiles=define <br /> use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef<br/> Compiler:<br /> cc='cc', optimize='-O3', gccversion=Apple devkit-based CPP 6.0<br /> cppflags='-g-pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing'<br /> ccflags ='-g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing'<br/> stdchar='char', d_stdstdio=undef, usevfork=true<br /> intsize=4, longsize=4, ptrsize=4,doublesize=8<br /> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8<br /> ivtype='long',ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8<br /> alignbytes=8, usemymalloc=n, prototype=define<br/> Linker and Libraries:<br /> ld='cc', ldflags =''<br /> libpth=/usr/lib<br /> libs=-lm-lc<br /> libc=/System/Library/Frameworks/System.framework/System, so=dylib, useshrplib=true, libperl=libperl.dylib<br/> Dynamic Linking:<br /> dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '<br/> cccdlflags=' ', lddlflags='-bundle -flat_namespace -undefined suppress'<br /><br /><br /> Characteristics ofthis binary (from libperl): <br /> Compile-time options: USE_LARGE_FILES<br /> Built under darwin<br /> Compiledat Sep 2 2001 17:24:33<br /> @INC:<br /> /System/Library/Perl/darwin<br /> /System/Library/Perl<br /> /Library/Perl/darwin<br /> /Library/Perl<br /> /Library/Perl<br /> /Network/Library/Perl/darwin<br /> /Network/Library/Perl<br /> /Network/Library/Perl<br /> .<br /> [alb-24-194-100-40:~/pgsql_perl5-1.9.0] howie% </tt>
В списке pgsql-interfaces по дате отправления: