Hello everyone,

I am interested in using hgWiggle program, so I downloaded jkent package and 
trying to build the pogram from the source

I have a compilation error which says :

../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlEscapeString2':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:2020: undefined reference to 
`mysql_escape_string'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlConnRemote':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:728: undefined reference to 
`mysql_init'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:733: undefined reference to 
`mysql_real_connect'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:745: undefined reference to 
`mysql_error'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:748: undefined reference to 
`mysql_error'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlConnCacheEntrySetDb':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1862: undefined reference to 
`mysql_select_db'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1865: undefined reference to 
`mysql_error'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlLastAutoId':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1749: undefined reference to 
`mysql_insert_id'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlFieldCount':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1488: undefined reference to 
`mysql_num_fields'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlCountColumns':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1469: undefined reference to 
`mysql_field_count'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlFieldColumn':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1454: undefined reference to 
`mysql_num_fields'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1458: undefined reference to 
`mysql_fetch_field_direct'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlFieldName':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1444: undefined reference to 
`mysql_fetch_field'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlVaWarn':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:844: undefined reference to 
`mysql_error'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:844: undefined reference to 
`mysql_errno'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlMaybeNextRow':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1138: undefined reference to 
`mysql_fetch_row'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1140: undefined reference to 
`mysql_errno'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlUseOrStore':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:893: undefined reference to 
`mysql_real_query'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:906: undefined reference to 
`mysql_errno'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlStoreResult':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1426: undefined reference to 
`mysql_store_result'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlGetResult':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1186: undefined reference to 
`mysql_use_result'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlGetResultExt':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1161: undefined reference to 
`mysql_use_result'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1166: undefined reference to 
`mysql_errno'
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1168: undefined reference to 
`mysql_error'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlFreeResult':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:491: undefined reference to 
`mysql_free_result'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlUpdateRows':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1224: undefined reference to 
`mysql_info'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlLoadTabFile':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1341: undefined reference to 
`mysql_info'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlTableExists':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1073: undefined reference to 
`mysql_use_result'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlDisconnect':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:534: undefined reference to 
`mysql_close'
../../../lib/x86_64/jkhgap.a(jksql.o): In function `sqlTableSizeIfExists':
/fs/sh-code/Software/JKENT/src/hg/lib/jksql.c:1088: undefined reference to 
`mysql_use_result'
collect2: ld returned 1 exit status
make: *** [hgLoadWiggle] Error 1


It seems like it is related to a MySQL problem do you have any idea on how to 
solve this problem ?

Cheers

Rad



_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to