Linux 3.11-3 vm and shared libraries

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Linux 3.11-3 vm and shared libraries

Schwab,Wilhelm K
Hello all,

I am trying to use the 3.11-3 vm to see if it fixes my double return value problem, and I cannot get it to load the library to do the test =:0  At this point, I am just guessing.  Can someone who has been successful at it give me an example?  What is the .so file named, how do you refer to it in #moduleName, where do you put the file relative to the vm?

Bill


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Linux 3.11-3 vm and shared libraries

Schwab,Wilhelm K
I think there is something wrong with the library searches in 3.11-3.  It is one thing for my hacked together .so to avoid detection due to some mistake on my part, but has anyone tried ODBC on Linux with the new vm?  It's sitting in /usr/lib like it has always been; the vm should find it, right?

Bill


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Schwab,Wilhelm K
Sent: Wednesday, April 07, 2010 10:57 AM
To: The general-purpose Squeak developers list; [hidden email]
Subject: [Pharo-project] Linux 3.11-3 vm and shared libraries

Hello all,

I am trying to use the 3.11-3 vm to see if it fixes my double return value problem, and I cannot get it to load the library to do the test =:0  At this point, I am just guessing.  Can someone who has been successful at it give me an example?  What is the .so file named, how do you refer to it in #moduleName, where do you put the file relative to the vm?

Bill


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Linux 3.11-3 vm and shared libraries

Dale
In reply to this post by Schwab,Wilhelm K
Bill,

I haven't followed your trials and tribulations with libraries, but I do know that starting with version 3.11-3 of the Squeak vm(see 'http://lists.squeakfoundation.org/pipermail/vm-dev/2009-September/003206.html'), the naming conventions for dynamically loaded files was changed to use a _leading_ so. instead of a trailing .so....

Dale
----- "Wilhelm K Schwab" <[hidden email]> wrote:

| I think there is something wrong with the library searches in 3.11-3.
| It is one thing for my hacked together .so to avoid detection due to
| some mistake on my part, but has anyone tried ODBC on Linux with the
| new vm?  It's sitting in /usr/lib like it has always been; the vm
| should find it, right?
|
| Bill
|
|
| -----Original Message-----
| From: [hidden email]
| [mailto:[hidden email]] On Behalf Of
| Schwab,Wilhelm K
| Sent: Wednesday, April 07, 2010 10:57 AM
| To: The general-purpose Squeak developers list;
| [hidden email]
| Subject: [Pharo-project] Linux 3.11-3 vm and shared libraries
|
| Hello all,
|
| I am trying to use the 3.11-3 vm to see if it fixes my double return
| value problem, and I cannot get it to load the library to do the test
| =:0  At this point, I am just guessing.  Can someone who has been
| successful at it give me an example?  What is the .so file named, how
| do you refer to it in #moduleName, where do you put the file relative
| to the vm?
|
| Bill
|
|
| _______________________________________________
| Pharo-project mailing list
| [hidden email]
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
|
| _______________________________________________
| Pharo-project mailing list
| [hidden email]
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Linux 3.11-3 vm and shared libraries

laurent laffont
In reply to this post by Schwab,Wilhelm K
Hi Bill,

I don't really understand what you're doing, too many mails in my inbox, I'm lost :) What simple test / code can I run to reproduce your problem and try to help you ? It seems interesting.

Cheers,

Laurent Laffont


On Wed, Apr 7, 2010 at 7:34 PM, Schwab,Wilhelm K <[hidden email]> wrote:
I think there is something wrong with the library searches in 3.11-3.  It is one thing for my hacked together .so to avoid detection due to some mistake on my part, but has anyone tried ODBC on Linux with the new vm?  It's sitting in /usr/lib like it has always been; the vm should find it, right?

Bill


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Schwab,Wilhelm K
Sent: Wednesday, April 07, 2010 10:57 AM
To: The general-purpose Squeak developers list; [hidden email]
Subject: [Pharo-project] Linux 3.11-3 vm and shared libraries

Hello all,

I am trying to use the 3.11-3 vm to see if it fixes my double return value problem, and I cannot get it to load the library to do the test =:0  At this point, I am just guessing.  Can someone who has been successful at it give me an example?  What is the .so file named, how do you refer to it in #moduleName, where do you put the file relative to the vm?

Bill


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Linux 3.11-3 vm and shared libraries

Schwab,Wilhelm K
In reply to this post by Dale
Dale,

That *cannot* be the only option for arbitrary external libraries - that will break things like odbc, or at best force people to create links in order to compensate.  Hopefully, you are thinking of plugins.

Bill




-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Dale Henrichs
Sent: Wednesday, April 07, 2010 1:19 PM
To: [hidden email]
Cc: The general-purpose Squeak developers list; [hidden email]
Subject: Re: [Pharo-project] Linux 3.11-3 vm and shared libraries

Bill,

I haven't followed your trials and tribulations with libraries, but I do know that starting with version 3.11-3 of the Squeak vm(see 'http://lists.squeakfoundation.org/pipermail/vm-dev/2009-September/003206.html'), the naming conventions for dynamically loaded files was changed to use a _leading_ so. instead of a trailing .so....

Dale
----- "Wilhelm K Schwab" <[hidden email]> wrote:

| I think there is something wrong with the library searches in 3.11-3.
| It is one thing for my hacked together .so to avoid detection due to
| some mistake on my part, but has anyone tried ODBC on Linux with the
| new vm?  It's sitting in /usr/lib like it has always been; the vm
| should find it, right?
|
| Bill
|
|
| -----Original Message-----
| From: [hidden email]
| [mailto:[hidden email]] On Behalf Of
| Schwab,Wilhelm K
| Sent: Wednesday, April 07, 2010 10:57 AM
| To: The general-purpose Squeak developers list;
| [hidden email]
| Subject: [Pharo-project] Linux 3.11-3 vm and shared libraries
|
| Hello all,
|
| I am trying to use the 3.11-3 vm to see if it fixes my double return
| value problem, and I cannot get it to load the library to do the test
| =:0  At this point, I am just guessing.  Can someone who has been
| successful at it give me an example?  What is the .so file named, how
| do you refer to it in #moduleName, where do you put the file relative
| to the vm?
|
| Bill
|
|
| _______________________________________________
| Pharo-project mailing list
| [hidden email]
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
|
| _______________________________________________
| Pharo-project mailing list
| [hidden email]
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Linux 3.11-3 vm and shared libraries

Schwab,Wilhelm K
In reply to this post by laurent laffont
Laurent,
 
Probably the best starting point is to install the odbc package and use it to connect to a datasource.  Then load the new vm and see if breaks.
 
Thanks!!
 
Bill

 



From: [hidden email] [mailto:[hidden email]] On Behalf Of laurent laffont
Sent: Wednesday, April 07, 2010 1:35 PM
To: [hidden email]
Cc: The general-purpose Squeak developers list
Subject: Re: [Pharo-project] Linux 3.11-3 vm and shared libraries

Hi Bill,

I don't really understand what you're doing, too many mails in my inbox, I'm lost :) What simple test / code can I run to reproduce your problem and try to help you ? It seems interesting.

Cheers,

Laurent Laffont


On Wed, Apr 7, 2010 at 7:34 PM, Schwab,Wilhelm K <[hidden email]> wrote:
I think there is something wrong with the library searches in 3.11-3.  It is one thing for my hacked together .so to avoid detection due to some mistake on my part, but has anyone tried ODBC on Linux with the new vm?  It's sitting in /usr/lib like it has always been; the vm should find it, right?

Bill


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Schwab,Wilhelm K
Sent: Wednesday, April 07, 2010 10:57 AM
To: The general-purpose Squeak developers list; [hidden email]
Subject: [Pharo-project] Linux 3.11-3 vm and shared libraries

Hello all,

I am trying to use the 3.11-3 vm to see if it fixes my double return value problem, and I cannot get it to load the library to do the test =:0  At this point, I am just guessing.  Can someone who has been successful at it give me an example?  What is the .so file named, how do you refer to it in #moduleName, where do you put the file relative to the vm?

Bill


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Linux 3.11-3 vm and shared libraries

Dale
In reply to this post by Schwab,Wilhelm K
In the link there's also mention of a change in the search path ...

Dale
----- "Wilhelm K Schwab" <[hidden email]> wrote:

| Dale,
|
| That *cannot* be the only option for arbitrary external libraries -
| that will break things like odbc, or at best force people to create
| links in order to compensate.  Hopefully, you are thinking of
| plugins.
|
| Bill
|
|
|
|
| -----Original Message-----
| From: [hidden email]
| [mailto:[hidden email]] On Behalf Of Dale
| Henrichs
| Sent: Wednesday, April 07, 2010 1:19 PM
| To: [hidden email]
| Cc: The general-purpose Squeak developers list;
| [hidden email]
| Subject: Re: [Pharo-project] Linux 3.11-3 vm and shared libraries
|
| Bill,
|
| I haven't followed your trials and tribulations with libraries, but I
| do know that starting with version 3.11-3 of the Squeak vm(see
| 'http://lists.squeakfoundation.org/pipermail/vm-dev/2009-September/003206.html'),
| the naming conventions for dynamically loaded files was changed to use
| a _leading_ so. instead of a trailing .so....
|
| Dale
| ----- "Wilhelm K Schwab" <[hidden email]> wrote:
|
| | I think there is something wrong with the library searches in
| 3.11-3.
| | It is one thing for my hacked together .so to avoid detection due to
|
| | some mistake on my part, but has anyone tried ODBC on Linux with the
|
| | new vm?  It's sitting in /usr/lib like it has always been; the vm
| | should find it, right?
| |
| | Bill
| |
| |
| | -----Original Message-----
| | From: [hidden email]
| | [mailto:[hidden email]] On Behalf Of
| | Schwab,Wilhelm K
| | Sent: Wednesday, April 07, 2010 10:57 AM
| | To: The general-purpose Squeak developers list;
| | [hidden email]
| | Subject: [Pharo-project] Linux 3.11-3 vm and shared libraries
| |
| | Hello all,
| |
| | I am trying to use the 3.11-3 vm to see if it fixes my double return
|
| | value problem, and I cannot get it to load the library to do the
| test
| | =:0  At this point, I am just guessing.  Can someone who has been
| | successful at it give me an example?  What is the .so file named,
| how
| | do you refer to it in #moduleName, where do you put the file
| relative
| | to the vm?
| |
| | Bill
| |
| |
| | _______________________________________________
| | Pharo-project mailing list
| | [hidden email]
| | http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
| |
| | _______________________________________________
| | Pharo-project mailing list
| | [hidden email]
| | http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
|
| _______________________________________________
| Pharo-project mailing list
| [hidden email]
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project