I've been trying to compile bacula on a server. Here is some helpful info:
arch: Solaris SPARC os: Solaris 10 bacula version: 5.0.3 mysql version: 5.0.67 When I compile bacula I get the following errors: Undefined first referenced symbol in file mysql_fetch_row .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_fetch_field .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_data_seek .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_query .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_errno .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_error .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_close .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_insert_id .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_free_result .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_store_result .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_init .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_sqlstate .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_affected_rows .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_real_connect .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_field_seek .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_real_escape_string .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_num_rows .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_num_fields .../bacula-5.0.3/src/cats/.libs/libbacsql.so mysql_use_result .../bacula-5.0.3/src/cats/.libs/libbacsql.so my_thread_end .../bacula-5.0.3/src/cats/.libs/libbacsql.so ld: fatal: Symbol referencing errors. No output written to .libs/dbcheck collect2: ld returned 1 exit status make[1]: *** [dbcheck] Error 1 make[1]: Leaving directory `.../bacula-5.0.3/src/tools' Configure runs error free with the following flags. ./configure \ --prefix=/usr/local/bacula \ --datarootdir=/usr/local/bacula/share \ --mandir=/usr/local/bacula/man \ --with-archivedir=/usr/local/bacula/archive \ --with-working-dir=/usr/local/bacula/working \ --with-plugindir=/usr/local/bacula/plugins \ --with-scriptdir=/usr/local/bacula/scripts \ --with-subsys-dir=/usr/local/bacula/subsys \ --with-mysql \ --with-dir-password=X \ --with-fd-password=Y \ --with-sd-password=Z \ --with-dir-user=bacula \ --with-dir-group=backup \ --with-sd-user=bacula \ --with-sd-group=backup \ --with-fd-user=root \ --with-fd-group=backup \ --enable-smartmalloc \ --with-dump-email=me \ --with-job-email=me \ I built and installed mysql from code with the following configuration settings: ./configure --prefix=/usr/local/mysql --with-pthread --with-zlib-dir=/usr/local/ Everything compiled correctly and it is setup and running. I've spent a long time researching a bunch of different forums and pages, but I can't seem to find the solution to the problem. If there are any questions or additional info needed, please let me know, and I will respond quickly. thanks. mylo. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users