Traceback (most recent call last): File "/usr/local/zope/278/lib/python/OFS/Application.py", line 673, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/zope/instance1/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/usr/local/zope/instance1/Products/ZMySQLDA/DA.py", line 91, in ? from db import DB File "/usr/local/zope/instance1/Products/ZMySQLDA/db.py", line 89, in ? import _mysql File "build/bdist.freebsd-6.2-RELEASE-i386/egg/_mysql.py", line 7, in ? File "build/bdist.freebsd-6.2-RELEASE-i386/egg/_mysql.py", line 6, in __bootstrap__ ImportError: Shared object "libmysqlclient_r.so.15" not found, required by "_mysql.so" Traceback (most recent call last): File "/usr/local/zope/278/lib/python/Zope/Startup/run.py", line 50, in ? run() File "/usr/local/zope/278/lib/python/Zope/Startup/run.py", line 19, in run start_zope(opts.configroot) File "/usr/local/zope/278/lib/python/Zope/Startup/__init__.py", line 52, in start_zope starter.startZope() File "/usr/local/zope/278/lib/python/Zope/Startup/__init__.py", line 231, in startZope Zope.startup() File "/usr/local/zope/278/lib/python/Zope/__init__.py", line 47, in startup _startup() File "/usr/local/zope/278/lib/python/Zope/App/startup.py", line 45, in startup OFS.Application.import_products() File "/usr/local/zope/278/lib/python/OFS/Application.py", line 650, in import_products import_product(product_dir, product_name, raise_exc=debug_mode) File "/usr/local/zope/278/lib/python/OFS/Application.py", line 673, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/zope/instance1/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/usr/local/zope/instance1/Products/ZMySQLDA/DA.py", line 91, in ? from db import DB File "/usr/local/zope/instance1/Products/ZMySQLDA/db.py", line 89, in ? import _mysql File "build/bdist.freebsd-6.2-RELEASE-i386/egg/_mysql.py", line 7, in ? File "build/bdist.freebsd-6.2-RELEASE-i386/egg/_mysql.py", line 6, in __bootstrap__ ImportError: Shared object "libmysqlclient_r.so.15" not found, required by "_mysql.so" # find / -name libmysqlclient_r.so.15 /usr/local/lib/mysql/libmysqlclient_r.so.15 # find / -name bdist.freebsd-6.2-RELEASE-i386 /usr/src/MySQL-python-1.2.2/build/bdist.freebsd-6.2-RELEASE-i386 # ls /usr/src/MySQL-python-1.2.2/build/bdist.freebsd-6.2-RELEASE-i386/ # So, evidently, there isn't even a dir named "egg" under the given dir in which to look for said file! What do? TIA, Tony ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
--On 5. März 2007 07:14:41 -0500 tonylabarbara@aol.com wrote:
__bootstrap__ ImportError: Shared object "libmysqlclient_r.so.15" not found, required by "_mysql.so" Traceback (most recent call last):
This is also self-speaking. The mysql client libaries are either not installed or can't be found. Check if the file is installed properly. If yes, try to extend the library search path of the dynamic linker using the LD_LIBRARY_PATH environment variable. -aj
# find / -name libmysqlclient_r.so.15 /usr/local/lib/mysql/libmysqlclient_r.so.15 # find / -name bdist.freebsd-6.2-RELEASE-i386 /usr/src/MySQL-python-1.2.2/build/bdist.freebsd-6.2-RELEASE-i386 # ls /usr/src/MySQL-python-1.2.2/build/bdist.freebsd-6.2-RELEASE-i386/ # It would appear that indeed libmysqlclient_r.so.15 is in fact to be found in the /usr/local/lib/mysql dir. So that would appear to not be the issue. Next, you state that it might not be found in its environment, and tell me I should try adding it "using the LD_LIBRARY_PATH environment variable". Okay, but could you be more specific? How exactly do I do that? Or, where is a resource to learn how to do it? TIA, Tony -----Original Message----- From: lists@zopyx.com To: tonylabarbara@aol.com; zope@zope.org Sent: Mon, 5 Mar 2007 8:19 AM Subject: Re: [Zope] ZMySQLDA Problem --On 5. März 2007 07:14:41 -0500 tonylabarbara@aol.com wrote:
__bootstrap__ ImportError: Shared object "libmysqlclient_r.so.15" not found, required by "_mysql.so" Traceback (most recent call last):
This is also self-speaking. The mysql client libaries are either not installed or can't be found. Check if the file is installed properly. If yes, try to extend the library search path of the dynamic linker using the LD_LIBRARY_PATH environment variable. -aj ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
--On 5. März 2007 07:26:10 -0500 tonylabarbara@aol.com wrote:
# find / -name libmysqlclient_r.so.15 /usr/local/lib/mysql/libmysqlclient_r.so.15 # find / -name bdist.freebsd-6.2-RELEASE-i386 /usr/src/MySQL-python-1.2.2/build/bdist.freebsd-6.2-RELEASE-i386 # ls /usr/src/MySQL-python-1.2.2/build/bdist.freebsd-6.2-RELEASE-i386/ #
It would appear that indeed libmysqlclient_r.so.15 is in fact to be found in the /usr/local/lib/mysql dir. So that would appear to not be the issue. Next, you state that it might not be found in its environment, and tell me I should try adding it "using the LD_LIBRARY_PATH environment variable". Okay, but could you be more specific? How exactly do I do that? Or, where is a resource to learn how to do it? TIA, Tony
export LD_LIBRARY_PATH=/path/to/libdir1:/path/to/libdir2:.... -aj
Thank you for giving me that command, unfortunately, "export" is not found on my system (?). # export LD_LIBRARY_PATH=/usr/local/lib/mysql/ export: Command not found. # find / -name export # Is there another command? FreeBSD 6.2 TIA, Tony -----Original Message----- From: lists@zopyx.com To: tonylabarbara@aol.com; zope@zope.org Sent: Mon, 5 Mar 2007 8:29 AM Subject: Re: [Zope] ZMySQLDA Problem --On 5. März 2007 07:26:10 -0500 tonylabarbara@aol.com wrote:
# find / -name libmysqlclient_r.so.15 /usr/local/lib/mysql/libmysqlclient_r.so.15 # find / -name bdist.freebsd-6.2-RELEASE-i386 /usr/src/MySQL-python-1.2.2/build/bdist.freebsd-6.2-RELEASE-i386 # ls /usr/src/MySQL-python-1.2.2/build/bdist.freebsd-6.2-RELEASE-i386/ #
It would appear that indeed libmysqlclient_r.so.15 is in fact to be found in the /usr/local/lib/mysql dir. So that would appear to not be the issue. Next, you state that it might not be found in its environment, and tell me I should try adding it "using the LD_LIBRARY_PATH environment variable". Okay, but could you be more specific? How exactly do I do that? Or, where is a resource to learn how to do it? TIA, Tony
export LD_LIBRARY_PATH=/path/to/libdir1:/path/to/libdir2:.... -aj ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
--On 5. März 2007 07:35:19 -0500 tonylabarbara@aol.com wrote:
Thank you for giving me that command, unfortunately, "export" is not found on my system (?). # export LD_LIBRARY_PATH=/usr/local/lib/mysql/ export: Command not found. # find / -name export #
you might read about the unix basics...setting an environment variable depends on the type of your shell. I have no idea which shell your using. Reading the man page of your shell and Goggle should give you an answer *wink*. -aj
setenv Thanks! Tony -----Original Message----- From: lists@zopyx.com To: tonylabarbara@aol.com; zope@zope.org Sent: Mon, 5 Mar 2007 8:38 AM Subject: Re: [Zope] ZMySQLDA Problem --On 5. März 2007 07:35:19 -0500 tonylabarbara@aol.com wrote:
Thank you for giving me that command, unfortunately, "export" is not found on my system (?). # export LD_LIBRARY_PATH=/usr/local/lib/mysql/ export: Command not found. # find / -name export #
you might read about the unix basics...setting an environment variable depends on the type of your shell. I have no idea which shell your using. Reading the man page of your shell and Goggle should give you an answer *wink*. -aj ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
participants (2)
-
Andreas Jung -
tonylabarbara@aol.com