Hi Anh, Sorry for my mistake. Your solution is correct and here is the reason:
I use AC_SEARCH_LIBS in configure script to check the openblas library, which will search for function blas_segmm() by linking related libraries. Therefore, we should use LDFLAGS (or LIBRARY_PATH) to specify directories at link-time but not LD_LIBRARY_PATH at run-time. I will fix this asap. If you have further suggestions, please let me know. Thank you very much. Best, zhongle -----Original Message----- From: Anh Dinh [mailto:[email protected]] Sent: Tuesday, 23 June, 2015 1:26 PM To: [email protected] Subject: Re: [jira] [Created] (SINGA-22) cannot find openblas library when it is installed in default path Thanks Zhongle, Actually the problem was not because of LD_LIBRARY_PATH. I tried it before but it didn't help. The error happened when running "./configure" I had to do: export LDFLAGS="-L /usr/lib/openblas-base" before doing ./configure. You may want to update Q&A3 accordingly. Cheers, Anh. On 23 June 2015 at 11:27, Xiezhongle <[email protected]> wrote: > Hi Anh, > > I have created a JIRA ticket for your problem and fix it. > Please take a look at Q&A3 in README file. > Thanks. > > Best, > zhongle > > -----Original Message----- > From: Xie Zhongle (JIRA) [mailto:[email protected]] > Sent: Tuesday, 23 June, 2015 11:19 AM > To: [email protected] > Subject: [jira] [Created] (SINGA-22) cannot find openblas library when > it is installed in default path > > Xie Zhongle created SINGA-22: > -------------------------------- > > Summary: cannot find openblas library when it is > installed in default path > Key: SINGA-22 > URL: https://issues.apache.org/jira/browse/SINGA-22 > Project: Singa > Issue Type: Bug > Reporter: Xie Zhongle > Assignee: Xie Zhongle > Priority: Minor > > > There's an minor issue when I do the following: > 1. cd thirdparty; ./install.sh openblas 2. ./configure --> ERROR > "cannot find blas_segmm() function" > > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) > >
