Ian, I will try what you want.
-----Original Message----- From: Ian Piumarta [mailto:i...@vpri.org] Sent: Friday, April 09, 2010 5:42 AM To: Schwab,Wilhelm K Cc: laurent laffont; Pharo-project@lists.gforge.inria.fr Subject: Re: [Vm-dev] Fwd: loading library with FFI fails (was [Pharo-project] Linux vm: assertions and strategy) Hi Bill, On Apr 9, 2010, at 3:24 AM, Schwab,Wilhelm K wrote: > I cannot ignore what was never delivered to me - you might want to > reconsider your logic in this connection. My initial assumption appears to be incorrect and so the suggestion I sent not to be relevant to debugging your problem. But the original is attached in case you care. It seems something between you and me is unreliable in delivery or in spam detection. > You might also note that #moduleName can check the OS, so "it will > never work on Windows" is just plain wrong. My mistake. The Unix moduleName should be 'odbc' unless there's a good reason for it not to be. > Later in the day I will revert to your vm and try 'odb' Recompile from source. My best attempt at a fix for your issue is in the repo. > - I will admit to being less than optimistic, especially given what I > "ignored" - make that never received. Well now that your mailer likes me, why not try to be happy to work with me to resolve this rather than assuming my attempts are futile and in vain? Cheers, Ian From: Ian Piumarta Date: April 7, 2010 11:56:14 AM PDT To: "Schwab,Wilhelm K" <bsch...@anest.ufl.edu> Subject: Re: [squeak-dev] RE: Linux 3.11-3 vm and shared libraries Received: (qmail 20182 invoked from network); 7 Apr 2010 18:56:15 -0000 Received: from dsl092-038-093.lax1.dsl.speakeasy.net (HELO [10.0.1.2]) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for <bsch...@anest.ufl.edu >; 7 Apr 2010 18:56:15 -0000 Message-Id: <70021dc8-9a49-48c1-b26f-6e75820ed...@speakeasy.net> In-Reply-To: <a93938cc72687245835ac0be10199f7c7b73c...@hsc-cms01.ad.ufl.edu > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) References: <a93938cc72687245835ac0be10199f7c7b73c...@hsc-cms01.ad.ufl.edu > <a93938cc72687245835ac0be10199f7c7b73c...@hsc-cms01.ad.ufl.edu> Bill, On Apr 7, 2010, at 10:34 AM, Schwab,Wilhelm K wrote: It is one thing for my hacked together .so to avoid detection due to some mistake on my part If your .so is in the library search path then it should be found. If your .so contains unresolved references then they should be reported on the console when it fails to load. 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? Yes it should, but try setting your LD_LIBRARY_PATH=/lib:/usr/lib and running the VM. I think there is something wrong with the library searches in 3.11-3. Just different, and a lot more predictable: From: Ian Piumarta <piuma...@gmail.com> Date: September 16, 2009 7:36:01 PM PDT To: The general-purpose Squeak developers list <squeak-...@lists.squeakfoundation.org > Subject: 3.11.3.2135 for Unix [...] NOTE: FFI libraries are no longer searched for in every single nook and cranny, which means you might have to set LD_LIBRARY_PATH (or your local equivalent) for FFI-based programs to work properly. Cheers, Ian _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project