Question: undefined symbol: PQinitOpenSSL
0
gravatar for jp.of.mars
2.3 years ago by
jp.of.mars10
jp.of.mars10 wrote:

Hello, I try to install galaxy with a postgresql database. But I get an error with psycopg :

migrate.versioning.repository DEBUG 2016-08-22 15:37:28,538 Repository lib/galaxy/model/migrate loaded successfully migrate.versioning.repository DEBUG 2016-08-22 15:37:28,539 Config: OrderedDict([('db_settings', OrderedDict([('__name__', 'db_settings'), ('repository_id', 'Galaxy'), ('version_table', 'migrate_version'), ('required_dbs', '[]')]))]) Traceback (most recent call last): File "/rapide/Applications/galaxy/lib/galaxy/webapps/galaxy/buildapp.py", line 63, in paste_app_factory app = galaxy.app.UniverseApplication( global_conf=global_conf, **kwargs )

File "/rapide/Applications/galaxy/lib/galaxy/app.py", line 70, in __init__ self._configure_models( check_migrate_databases=True, check_migrate_tools=check_migrate_tools, config_file=config_file )

File "/rapide/Applications/galaxy/lib/galaxy/config.py", line 899, in _configure_models create_or_verify_database( db_url, config_file, self.config.database_engine_options, app=self )

File "/rapide/Applications/galaxy/lib/galaxy/model/migrate/check.py", line 31, in create_or_verify_database engine = create_engine( url, **engine_options )

File "/rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 386, in create_engine return strategy.create(args, *kwargs)

File "/rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 75, in create dbapi = dialect_cls.dbapi(**dbapi_args)

File "/rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 579, in dbapi import psycopg2

File "/rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module> from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID

ImportError: /rapide/Applications/galaxy/.venv/lib/python2.7/site-packages/psycopg2/_psycopg.so: undefined symbol: PQinitOpenSSL

Could you help me please ?

thanks !

psycopg2 pqinitopenssl galaxy • 740 views
ADD COMMENTlink modified 2.3 years ago • written 2.3 years ago by jp.of.mars10

I suspect that this is related.

ADD REPLYlink written 2.3 years ago by Devon Ryan1.9k
0
gravatar for jp.of.mars
2.3 years ago by
jp.of.mars10
jp.of.mars10 wrote:

Hi,

I dowloaded psycopg2 with yum and copy it in .venv directory. Now all is ok.

thanks!

ADD COMMENTlink written 2.3 years ago by jp.of.mars10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 166 users visited in the last hour