Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

qmail-autoresponder-mysql

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


mohsen at pahlevanzadeh

May 28, 2009, 3:47 PM

Post #1 of 2 (637 views)
Permalink
qmail-autoresponder-mysql

Dear all,
I have a Fedora box.I want to install qmail-autoresponder-mysql.
When i install its rpm & run it i give following error:
/usr/bin/qmail-autoresponder-mysql: error while loading shared
libraries: libmysqlclient.so.10: cannot open shared object file: No such
file or directory
I installed libmysqlclient.so.15 already.What i do?
When i compile with following options, i give the error:
gcc -c qmail-autoresponder-mysql.c `mysql_config --libs` `mysql_config
--include --cflags`
My error:
qmail-autoresponder-mysql.c:4:21: error: str/str.h: No such file or
directory
In file included from qmail-autoresponder-mysql.c:5:
qmail-autoresponder.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘response’
qmail-autoresponder-mysql.c:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘query’
qmail-autoresponder-mysql.c:16: error: expected ‘)’ before ‘*’ token
qmail-autoresponder-mysql.c: In function ‘do_select’:
qmail-autoresponder-mysql.c:34: error: ‘query’ undeclared (first use in
this function)
qmail-autoresponder-mysql.c:34: error: (Each undeclared identifier is
reported only once
qmail-autoresponder-mysql.c:34: error: for each function it appears in.)
qmail-autoresponder-mysql.c: In function ‘handle_field’:
qmail-autoresponder-mysql.c:60: error: ‘response’ undeclared (first use
in this function)
qmail-autoresponder-mysql.c: In function ‘count_history’:
qmail-autoresponder-mysql.c:117: error: ‘query’ undeclared (first use in
this function)

How i solve my problem?
Yours,
Mohsen


kyle-qmail at memoryhole

May 29, 2009, 6:33 AM

Post #2 of 2 (553 views)
Permalink
Re: qmail-autoresponder-mysql [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Friday, May 29 at 03:17 AM, quoth Mohsen Pahlevanzadeh:
> I have a Fedora box.I want to install qmail-autoresponder-mysql.
> When i install its rpm & run it i give following error:
> /usr/bin/qmail-autoresponder-mysql: error while loading shared
> libraries: libmysqlclient.so.10: cannot open shared object file: No
> such file or directory

Clearly, that rpm is poorly constructed and does not sufficiently
specify its dependencies.

> I installed libmysqlclient.so.15 already.What i do?

You have two options: find an rpm that provides libmysqlclient.so.10
and install that OR compile qmail-autoresponder-mysql yourself and do
away with the RPM. (Unless you also have an srpm, in which case you
can probably build an rpm out of it.)

> When i compile with following options, i give the error:
> gcc -c qmail-autoresponder-mysql.c `mysql_config --libs` `mysql_config
> --include --cflags`
> My error:
> qmail-autoresponder-mysql.c:4:21: error: str/str.h: No such file or
> directory

You don't have all the necessary headers to compile it. Find out where
str/str.h is supposed to come from, and install the relevant RPM.

> How i solve my problem?

You should probably contact the author of qmail-autoresponder-mysql.c
directly.

~Kyle
- --
Beauty is in the eye of the beholder and it may be necessary from time
to time to give a stupid or misinformed beholder a black eye.
-- Miss Piggy
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJKH+Q0AAoJECuveozR/AWeiJAQAJ+R/sg0urxCXM2dmhZHadI+
QMWUNKq6bdNVeUvmCLqPJISiG9NfRIwOXk5mK81ge0FLg8OUEkWhX74gRaaTJQxH
v+NqcjONCD87Vrv02pUndwbM0jXBAr3WxfP2GzdYj0PlwX+ZEi6QuoDwIPrO11Xt
6D4SMaWXWfzdjCTHQKjMqnOoPSb/KB/CRWWsTCjxnhuEi3O7yPPDUb9N3mBcRknk
tye4ZYnZFG5VPBmUpvEnaCWioHqQZqXuLG8o2FN5FIdWkmrMSA9ArakxU9Woc9g5
JaQsYBFJCK4xE0F+5RcPHc51lNqj7nQTPz4Wn7Xypbo1p38R6WgRSm/sqeIu7nUs
dqQ7kurZEizKlPJzzpsbNk2S2tf30yJbxtfAEp5FrG5xz0Lf8mn/fxI3MWwKk0ci
fyf2L61ou4fbLU1PDRQK+RuEA+o6Aa0xAh9v3QgormNqed5arFdsgODO2C7Dz0pd
QmKfyiTgbjBBTw0Nj0kUziYlGWmKLJE9Ok0MG/4J32smJh6ohtQb2l2qsQ+ENJh1
/g02+A/tFh9SU7EnEP2whQsveBACzeCBtopRv/5S0cDVuCXaG+GllKiPQkpJuMQf
SRY4uXwCSW76YikYiXAhJPwTIq+UMB0Vx0md1Sa/ETxnRf/vuw2mEfgqy5j5UJ0V
pRskssq2Ta2x03IJdkXe
=w12x
-----END PGP SIGNATURE-----

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.