June 06, 2018 Re: Hunt framework 1.0.0 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris | On Tuesday, 5 June 2018 at 13:07:49 UTC, Chris wrote:
> On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
>> We are pleased to announce an official version of hunt 1.0 , This is an important milestone release!
>>
>> [...]
>
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: error: ld returned 1 exit status
> Error: linker exited with status 1
Hunt dependency ORM framework Entity and Entity need link mysqlclient, so you need to have the following dependency installed:
libmysqlclient.
sudo apt-get install libmysqlclient-dev # Debian / Ubuntu
sudo yum install mysql-devel # Red Hat / CentOS
brew install mysql-connector-c # macOS (Homebrew)
|
June 06, 2018 Re: Hunt framework 1.0.0 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to noclear | On Wednesday, 6 June 2018 at 08:35:27 UTC, noclear wrote:
> On Tuesday, 5 June 2018 at 13:07:49 UTC, Chris wrote:
>> On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
>>> We are pleased to announce an official version of hunt 1.0 , This is an important milestone release!
>>>
>>> [...]
>>
>> /usr/bin/ld: cannot find -lmysqlclient
>> collect2: error: ld returned 1 exit status
>> Error: linker exited with status 1
>
> Hunt dependency ORM framework Entity and Entity need link mysqlclient, so you need to have the following dependency installed:
> libmysqlclient.
>
> sudo apt-get install libmysqlclient-dev # Debian / Ubuntu
> sudo yum install mysql-devel # Red Hat / CentOS
> brew install mysql-connector-c # macOS (Homebrew)
Yep, thanks for your reply. I figured I'd need the mysql(client) lib, but I could't find it for Manjaro / ArchLinux when I was testing Hunt, so I gave up. I don't like it when I'm told I just need to run a simple command for it to work...only for it to fail.
|
Copyright © 1999-2021 by the D Language Foundation