Can"t install DBD::mysql on SUSE 8.2

Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 16:44:19 von Robert.Pierce

Hi-

I have the zlib and zlib-devel rpms installed as mentioned in other =
posts.

I think my error has something to do with my LD_RUN_PATH variable but =
I'm not able to come up with the right options when I run perl =
Makefile.PL. Here is a snippet where the error occurs during make:

LD_RUN_PATH=3D"/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared =
dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so =
-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files =
-lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-l inux/bin/ld: =
cannot find -lnss_files
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1

Does anyone have suggestions? Thanks.



Confidentiality Notice:
This message, and any attachments, may contain information that is =
confidential, privileged, and/or protected from disclosure under state =
and federal laws that deal with the privacy and security of medical =
information. If you received this message in error or through =
inappropriate means, please reply to this message to notify the Sender =
that the message was received by you in error, and then permanently =
delete this message from all storage media, without forwarding or =
retaining a copy.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

Re: Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 17:33:09 von Rudy Lippan

On Thu, 22 Jan 2004, Pierce, Robert wrote:

> Hi-

Hi


> I have the zlib and zlib-devel rpms installed as mentioned in other posts.
>
> I think my error has something to do with my LD_RUN_PATH variable but
> I'm not able to come up with the right options when I run perl
> Makefile.PL. Here is a snippet where the error occurs during make:
>
> LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared dbdimp.o
> mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql
> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv
> -lc -lnss_files -lnss_dns -lresolv
> /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-l inux/bin/ld:
> cannot find -lnss_files collect2: ld returned 1 exit status make: ***
> [blib/arch/auto/DBD/mysql/mysql.so] Error 1

It looks like you are trying to link with -lnss_files which the linker
cannot find.

Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 17:33:09 von Rudy Lippan

On Thu, 22 Jan 2004, Pierce, Robert wrote:

> Hi-

Hi


> I have the zlib and zlib-devel rpms installed as mentioned in other posts.
>
> I think my error has something to do with my LD_RUN_PATH variable but
> I'm not able to come up with the right options when I run perl
> Makefile.PL. Here is a snippet where the error occurs during make:
>
> LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared dbdimp.o
> mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql
> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv
> -lc -lnss_files -lnss_dns -lresolv
> /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-l inux/bin/ld:
> cannot find -lnss_files collect2: ld returned 1 exit status make: ***
> [blib/arch/auto/DBD/mysql/mysql.so] Error 1

It looks like you are trying to link with -lnss_files which the linker
cannot find.

Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

RE: Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 17:39:49 von Robert.Pierce

Rudy,

How would I link without including the lnss_files? Thanks.


-----Original Message-----
From: Rudy Lippan [mailto:rlippan@remotelinux.com]
Sent: Thu 1/22/2004 11:33 AM
To: Pierce, Robert
Cc: perl@lists.mysql.com
Subject: Re: Can't install DBD::mysql on SUSE 8.2
On Thu, 22 Jan 2004, Pierce, Robert wrote:

> Hi-

Hi

=20
> I have the zlib and zlib-devel rpms installed as mentioned in other =
posts.
>=20
> I think my error has something to do with my LD_RUN_PATH variable but
> I'm not able to come up with the right options when I run perl
> Makefile.PL. Here is a snippet where the error occurs during make:
>=20
> LD_RUN_PATH=3D"/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared =
dbdimp.o
> mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql
> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv
> -lc -lnss_files -lnss_dns -lresolv
> =
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-l inux/bin/ld:
> cannot find -lnss_files collect2: ld returned 1 exit status make: ***
> [blib/arch/auto/DBD/mysql/mysql.so] Error 1

It looks like you are trying to link with -lnss_files which the linker=20
cannot find.

Rudy






Confidentiality Notice:
This message, and any attachments, may contain information that is =
confidential, privileged, and/or protected from disclosure under state =
and federal laws that deal with the privacy and security of medical =
information. If you received this message in error or through =
inappropriate means, please reply to this message to notify the Sender =
that the message was received by you in error, and then permanently =
delete this message from all storage media, without forwarding or =
retaining a copy.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

RE: Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 17:39:49 von Robert.Pierce

Rudy,

How would I link without including the lnss_files? Thanks.


-----Original Message-----
From: Rudy Lippan [mailto:rlippan@remotelinux.com]
Sent: Thu 1/22/2004 11:33 AM
To: Pierce, Robert
Cc: perl@lists.mysql.com
Subject: Re: Can't install DBD::mysql on SUSE 8.2
On Thu, 22 Jan 2004, Pierce, Robert wrote:

> Hi-

Hi

=20
> I have the zlib and zlib-devel rpms installed as mentioned in other =
posts.
>=20
> I think my error has something to do with my LD_RUN_PATH variable but
> I'm not able to come up with the right options when I run perl
> Makefile.PL. Here is a snippet where the error occurs during make:
>=20
> LD_RUN_PATH=3D"/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared =
dbdimp.o
> mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql
> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv
> -lc -lnss_files -lnss_dns -lresolv
> =
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-l inux/bin/ld:
> cannot find -lnss_files collect2: ld returned 1 exit status make: ***
> [blib/arch/auto/DBD/mysql/mysql.so] Error 1

It looks like you are trying to link with -lnss_files which the linker=20
cannot find.

Rudy






Confidentiality Notice:
This message, and any attachments, may contain information that is =
confidential, privileged, and/or protected from disclosure under state =
and federal laws that deal with the privacy and security of medical =
information. If you received this message in error or through =
inappropriate means, please reply to this message to notify the Sender =
that the message was received by you in error, and then permanently =
delete this message from all storage media, without forwarding or =
retaining a copy.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

RE: Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 17:52:05 von Rudy Lippan

On Thu, 22 Jan 2004, Pierce, Robert wrote:

> Rudy,
>
> How would I link without including the lnss_files? Thanks.


Try this:

LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared \
dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql \
-lmysqlclient -lz -lcrypt -lnsl -lm -lc -lresolv


Rudy



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

RE: Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 17:52:05 von Rudy Lippan

On Thu, 22 Jan 2004, Pierce, Robert wrote:

> Rudy,
>
> How would I link without including the lnss_files? Thanks.


Try this:

LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared \
dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql \
-lmysqlclient -lz -lcrypt -lnsl -lm -lc -lresolv


Rudy



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

RE: Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 18:03:13 von Robert.Pierce

OK. This worked:

root@susedell:/downloads/perl/DBD-mysql-2.9003 RC=3D0 $ perl =
Makefile.PL --libs=3D"/usr/bin/perl myld cc -shared dbdimp.o mysql.o -o =
blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql -lmysqlclient -lz =
-lcrypt -lnsl -lm -lc -lresolv"

my make, make test, make installs are ran with no errors.

Thanks Rudy!




-----Original Message-----
From: Rudy Lippan [mailto:rlippan@remotelinux.com]
Sent: Thu 1/22/2004 11:52 AM
To: Pierce, Robert
Cc: perl@lists.mysql.com
Subject: RE: Can't install DBD::mysql on SUSE 8.2
On Thu, 22 Jan 2004, Pierce, Robert wrote:

> Rudy,
>=20
> How would I link without including the lnss_files? Thanks.


Try this:

LD_RUN_PATH=3D"/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared \
dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql \
-lmysqlclient -lz -lcrypt -lnsl -lm -lc -lresolv=20


Rudy







Confidentiality Notice:
This message, and any attachments, may contain information that is =
confidential, privileged, and/or protected from disclosure under state =
and federal laws that deal with the privacy and security of medical =
information. If you received this message in error or through =
inappropriate means, please reply to this message to notify the Sender =
that the message was received by you in error, and then permanently =
delete this message from all storage media, without forwarding or =
retaining a copy.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

RE: Can"t install DBD::mysql on SUSE 8.2

am 22.01.2004 18:03:13 von Robert.Pierce

OK. This worked:

root@susedell:/downloads/perl/DBD-mysql-2.9003 RC=3D0 $ perl =
Makefile.PL --libs=3D"/usr/bin/perl myld cc -shared dbdimp.o mysql.o -o =
blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql -lmysqlclient -lz =
-lcrypt -lnsl -lm -lc -lresolv"

my make, make test, make installs are ran with no errors.

Thanks Rudy!




-----Original Message-----
From: Rudy Lippan [mailto:rlippan@remotelinux.com]
Sent: Thu 1/22/2004 11:52 AM
To: Pierce, Robert
Cc: perl@lists.mysql.com
Subject: RE: Can't install DBD::mysql on SUSE 8.2
On Thu, 22 Jan 2004, Pierce, Robert wrote:

> Rudy,
>=20
> How would I link without including the lnss_files? Thanks.


Try this:

LD_RUN_PATH=3D"/usr/lib/mysql:/lib" /usr/bin/perl myld cc -shared \
dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -L/usr/lib/mysql \
-lmysqlclient -lz -lcrypt -lnsl -lm -lc -lresolv=20


Rudy







Confidentiality Notice:
This message, and any attachments, may contain information that is =
confidential, privileged, and/or protected from disclosure under state =
and federal laws that deal with the privacy and security of medical =
information. If you received this message in error or through =
inappropriate means, please reply to this message to notify the Sender =
that the message was received by you in error, and then permanently =
delete this message from all storage media, without forwarding or =
retaining a copy.

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

Re: Can"t install DBD::mysql on SUSE 8.2

am 24.01.2004 07:41:23 von mars

Pierce, Robert vtmednet.org> writes:

>
> OK. This worked:
>
> root susedell:/downloads/perl/DBD-mysql-2.9003 RC=0 $ perl Makefile.PL
--libs="/usr/bin/perl
> myld cc -shared dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so
-L/usr/lib/mysql
> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lresolv"
>
> my make, make test, make installs are ran with no errors.
>
> Thanks Rudy!

Did you happen to get an unresolved symbol error after getting the beast to
compile? I've started out with a lot of the same errors and haven't gotten
around it.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Can"t install DBD::mysql on SUSE 8.2

am 24.01.2004 07:41:23 von mars

Pierce, Robert vtmednet.org> writes:

>
> OK. This worked:
>
> root susedell:/downloads/perl/DBD-mysql-2.9003 RC=0 $ perl Makefile.PL
--libs="/usr/bin/perl
> myld cc -shared dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so
-L/usr/lib/mysql
> -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lresolv"
>
> my make, make test, make installs are ran with no errors.
>
> Thanks Rudy!

Did you happen to get an unresolved symbol error after getting the beast to
compile? I've started out with a lot of the same errors and haven't gotten
around it.


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org