Hi Hiram,

So I used the PNGLIB=/usr/local/lib/libpng.a for my computer. Same ranlib 
"errors" for make libs and now says after make compile

cc1: warnings being treated as errors
great.c: In function ‘doSubmitToGreat’:
great.c:116: warning: format not a string literal and no format arguments
make[1]: *** [great.o] Error 1
make: *** [hgTables.compile] Error 2

after all the make stuff and repeats this error in the make install. I set up 
the permissions for the apache dir so that it had no problem writing to those 
directories. I'm not sure but if that error is not a problem I might have a 
successful install. Now the only problem is that executing make in the 
utils/bedtobigbed still gives me the following error

Undefined symbols:
  "_ERR_load_crypto_strings", referenced from:
      _netConnectHttps in jkweb.a(https.o)
  "_BIO_ctrl", referenced from:
      _netConnectHttps in jkweb.a(https.o)
      _netConnectHttps in jkweb.a(https.o)
      _netConnectHttps in jkweb.a(https.o)
      _netConnectHttps in jkweb.a(https.o)
      _netConnectHttps in jkweb.a(https.o)
  "_BIO_read", referenced from:
      _netConnectHttps in jkweb.a(https.o)
  "_BIO_free_all", referenced from:
      _netConnectHttps in jkweb.a(https.o)
  "_BIO_write", referenced from:
      _netConnectHttps in jkweb.a(https.o)
  "_OPENSSL_add_all_algorithms_noconf", referenced from:
      _netConnectHttps in jkweb.a(https.o)
  "_ERR_print_errors_fp", referenced from:
      _netConnectHttps in jkweb.a(https.o)
      _netConnectHttps in jkweb.a(https.o)
      _netConnectHttps in jkweb.a(https.o)
      _netConnectHttps in jkweb.a(https.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [bedToBigBed] Error 1

I do have USE_SSL=1.

THanks for your help --Jacob

On Oct 27, 2010, at 1:23 PM, Hiram Clawson wrote:

> Good Afternoon Jacob:
> 
> Your source tree can be anywhere you want it to be.
> $HOME/jksrc/ is as good as anywhere else.
> Do you have a ./kent/src/ directory in that $HOME/jksrc/
> directory ?  That's what I see when I unpack jksrc.zip.
> Did you obtain your source tree from the zip file ?
> http://hgdownload.cse.ucsc.edu/admin/jksrc.zip
> 
> The ranlib no symbol message is not important.  It is not
> an error.
> 
> You seem to be missing a definition to link with your libpng.
> Do you have a libpng installed anywhere ?  Your gcc command
> line should have a libpng.a listed.  For example, going into
> src/hg/hgGateway and run a 'make compile' it says:
> gcc hgGateway.o ../../lib/x86_64/jkhgap.a ../../lib/x86_64/jkweb.a
> -lssl -lcrypto /usr/lib64/libpng.a
> /hive/data/outside/samtools/samtools-0.1.8/x86_64/libbam.a
> -lm /usr/lib64/mysql/libmysqlclient.a -lz
> 
> Note the location of libpng.a in this example.  Yours may
> be in /opt/local/lib/libpng.a
> 
> To point to your libpng.a file, use the PNGLIB variable,
> for example:
> export PNGLIB=/opt/local/lib/libpng.a
> 
> You need to find your libpng.a to get it to work.
> This would also work:
> export PNGLIB='-L/opt/local/lib -lpng'
> 
> --Hiram
> 
> Jacob C Schwartz wrote:
>> Hi Hiram,
>> So make libs gives errors
>> for cd lib && make
>> /usr/bin/ranlib: file: x86_64/jkweb.a(gifwrite.o) has no symbols
>> /usr/bin/ranlib: file: x86_64/jkweb.a(vGif.o) has no symbols
>> for cd jkownlib && make
>> /usr/bin/ranlib: file: ../../lib/x86_64/jkhgap.a(knetUdc.o) has no symbols
>> Then for cd hg followed by make compile ends with the following errors
>> Undefined symbols:
>>  "_png_write_png", referenced from:


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

Reply via email to