Mike,

I downloaded a fresh copy of ver 1.5 to be on the safe side, and modified
the Makefile.PL to suit Linux distribution. Makefile.PL included below;
####################################################################
use ExtUtils::MakeMaker;

# You must have the library package from Ipass installed first
$ipass_home    = $ENV{IPASS_HOME} || "/usr/ipass";
$ipass_lib     = "$ipass_home/lib";
$ipass_include = "$ipass_home/include";

die "Seems like your Ipass libraries are not installed in $ipass_home"
    unless -d $ipass_home;

# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
# On linux, you might get linking errors with dbm_error.
# If so, try this alternate LIBS line:
#   'LIBS'      => ["-L$ipass_lib -lip -lssl -lcrypto -lndbm"],
# orig 'LIBS'         => ["-L$ipass_lib -lip -lssl -lcrypto"],

WriteMakefile(
    'NAME'         => 'Ipass',
    'DISTNAME'     => 'IpassPerl',
    'VERSION_FROM' => 'Ipass.pm', # finds $VERSION
    'LIBS'         => ["-L$ipass_lib -lip -lssl -lcrypto -lndbm"],
    'DEFINE'       => '',
    'INC'          => "-I$ipass_include",
     dist          => {
         COMPRESS => 'gzip -f',
         SUFFIX   => 'gz',
     },
);
######################################################################

Below is the sequence of commands and messages seen while seting up and
compiling. As you can see it only complains when doing "make test"...

[root@auth IpassPerl-1.5]# perl Makefile.PL 
Checking if your kit is complete...
Looks good
Writing Makefile for Ipass

[root@auth IpassPerl-1.5]# make
mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/Ipass
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/Ipass
mkdir ./blib/man3
cp Ipass.pm ./blib/lib/Ipass.pm
AutoSplitting ./blib/lib/Ipass.pm (./blib/lib/auto/Ipass)
/usr/local/bin/perl -I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5
/usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap
-typemap typemap Ipass.xs >Ipass.tc && mv Ipass.tc Ipass.c
cc -c -I/usr/ipass/include -Dbool=char -DHAS_BOOL -I/usr/local/include -O2
-DVERSION=\"1.5\" -DXS_VERSION=\"1.5\" -fpic
-I/usr/lib/perl5/i386-linux/5.00404/CORE  Ipass.c
Running Mkbootstrap for Ipass ()
chmod 644 Ipass.bs
LD_RUN_PATH="/usr/ipass/lib:/usr/lib" cc -o blib/arch/auto/Ipass/Ipass.so
-shared -L/usr/local/lib Ipass.o    -L/usr/ipass/lib -lip -lssl -lcrypto
-lndbm 
chmod 755 blib/arch/auto/Ipass/Ipass.so
cp Ipass.bs ./blib/arch/auto/Ipass/Ipass.bs
chmod 644 blib/arch/auto/Ipass/Ipass.bs
Manifying ./blib/man3/Ipass.3

[root@auth IpassPerl-1.5]# make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib
-I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5 test.pl
1..6
Can't load './blib/arch/auto/Ipass/Ipass.so' for module Ipass:
./blib/arch/auto/Ipass/Ipass.so: undefined symbol: ERR_print_errors at
/usr/lib/perl5/i386-linux/5.00404/DynaLoader.pm line 168.

 at test.pl line 19
BEGIN failed--compilation aborted at test.pl line 19.
not ok 1
make: *** [test_dynamic] Error 2

Any suggestions at this point would be very much appreciated...

Regards

Ian Hughes





-----Original Message-----
From: Mike McCauley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 20 January 2000 11:43
To: Ian Hughes; '[EMAIL PROTECTED] '
Subject: Re: (RADIATOR) Ipass problems


Hello Ian,

I havent seen exactly that problem. I have seen similar linking failures but
only on RH6.1, where the shared object linking has changed.

I think that most of the Ipass sytsems I have seen were built on Perl 5.005.
I
dont think I have done one with Perl 5.004. I dont know if thats relevant
though. I have built on RH5.2 without problems before.

ERR_print_errors is used by the iPASS library in libip.a, and its defined in
libcrypto.a, so it looks like the linking has not properly resolved the
symbol.
Did you get _any_ warnings at all during linking?

Cheers.

Let me know how you go.

On Jan 18, 10:54am, Ian Hughes wrote:
> Subject: (RADIATOR) Ipass problems
> Hi,
>
>   Having problems getting Ipass outbound working properly, using;
>   Redhat Linux 5.2
>   Radiator 2.14.1
>   IpassPerl-1.5
>   iPASS-Linuc-486 (from open.com.au)
>   ipass3.1 (from ipass)
>
>   In IpassPerl doing;
> [root@auth IpassPerl-1.5]# perl Makefile.PL
>
> no errors reported
>
> [root@auth IpassPerl-1.5]# make
>
> no errors reported
>
> [root@auth IpassPerl-1.5]# make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib
> -I/usr/lib/perl5/i386-linux/5.00404 -I/usr/lib/perl5 test.pl
> 1..6
> Can't load './blib/arch/auto/Ipass/Ipass.so' for module Ipass:
> ./blib/arch/auto/Ipass/Ipass.so: undefined symbol: ERR_print_errors at
> /usr/lib/perl5/i386-linux/5.00404/DynaLoader.pm line 168.
>
>  at test.pl line 19
> BEGIN failed--compilation aborted at test.pl line 19.
> not ok 1
> make: *** [test_dynamic] Error 2
>
> Has anyone run into this??? Any suggestions???
>
> +----------------------------------------------------------------------+
>   Ian Hughes - Network Services.
>   Hunterlink Pty. Ltd. (Australia)
>   1st Floor, 805 Hunter Street
>   Dangar, NSW, 2309 Australia
>   Phone: +61 2 4969 0122  Fax: +61 2 4969 0133
>   E-Mail: [EMAIL PROTECTED]
>   PGP: http://users.hunterlink.net.au/~deimh/pgp.html
> +----------------------------------------------------------------------+
>   If you're not living on the edge, you're taking up too much room!
> +----------------------------------------------------------------------+
>
>
>
> ===
> Archive at http://www.thesite.com.au/~radiator/
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>-- End of excerpt from Ian Hughes



-- 
Mike McCauley                               [EMAIL PROTECTED]
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8, 
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to