Runing DBT2 on Postgresql

From: Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Runing DBT2 on Postgresql
Date: 2014-04-23 09:33:59
Message-ID: CANqGtSsU9LHJmq8+oojc88gttZMozm6CaMMFL4K7vG4_aqPmQQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All,

I am trying to install dbt2 on postgresql database.

cmake(configure) command work fine and but make command(build) give an
error given below. I have no idea about how to solve it

I have set
export LD_LIBRARY_PATH=home/abhi/project/lib:$LD_LIBRARY_PATH
dbt2pgdata = /home/abhi/project/pgsql/DemoDir/

export PATH=$HOME/project/bin:$PATH

CMakeFiles/bin/dbt2-client.dir/src/client.o: In function `startup':
/home/abhi/project/dbt2/src/client.c:344: undefined reference to
`pthread_create'
CMakeFiles/bin/dbt2-client.dir/src/listener.o: In function `init_listener':
/home/abhi/project/dbt2/src/listener.c:94: undefined reference to
`pthread_attr_setstacksize'
/home/abhi/project/dbt2/src/listener.c:99: undefined reference to
`pthread_create'
CMakeFiles/bin/dbt2-client.dir/src/db_threadpool.o: In function
`db_threadpool_init':
/home/abhi/project/dbt2/src/db_threadpool.c:226: undefined reference to
`pthread_attr_setstacksize'
/home/abhi/project/dbt2/src/db_threadpool.c:230: undefined reference to
`pthread_create'
CMakeFiles/bin/dbt2-client.dir/src/common.o: In function `get_think_time':
/home/abhi/project/dbt2/src/common.c:149: undefined reference to `log'
CMakeFiles/bin/dbt2-client.dir/src/libpq/dbc_common.o: In function
`commit_transaction':
/home/abhi/project/dbt2/src/libpq/dbc_common.c:25: undefined reference to
`PQexec'
/home/abhi/project/dbt2/src/libpq/dbc_common.c:26: undefined reference to
`PQresultStatus'
/home/abhi/project/dbt2/src/libpq/dbc_common.c:27: undefined reference to
`PQerrorMessage'
/home/abhi/project/dbt2/src/libpq/dbc_common.c:29: undefined reference to
`PQclear'
CMakeFiles/bin/dbt2-client.dir/src/libpq/dbc_common.o: In function
`_connect_to_db':
/home/abhi/project/dbt2/src/libpq/dbc_common.c:44: undefined reference to
`PQconnectdb'
/home/abhi/project/dbt2/src/libpq/dbc_common.c:45: undefined reference to
`PQstatus'
/home/abhi/project/dbt2/src/libpq/dbc_common.c:48: undefined reference to
`PQerrorMessage'
/home/abhi/project/dbt2/src/libpq/dbc_common.c:49: undefined reference to
`PQfinish'
CMakeFiles/bin/dbt2-client.dir/src/libpq/dbc_common.o: In function
`_disconnect_from_db':
/home/abhi/project/dbt2/src/libpq/dbc_common.c:58: undefined reference to
`PQfinish'

Please guide me through !!

Regards,
Rohit Goyal

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2014-04-23 09:37:14 Re: 9.4 Proposal: Initdb creates a single table
Previous Message Amit Langote 2014-04-23 09:19:10 Re: Typo in doc/src/sgml/monitoring.sgml? s/tranche/trance?