Re: Aborting from core/sync/mutex.d(147) Error: pthread_mutex_init failed.

2020-04-01 Thread mitchell via Digitalmars-d-learn
On Wednesday, 1 April 2020 at 02:08:09 UTC, mitchell wrote: Hello, I've just finished migrating a project from GDC/Makefile to LDC with dub. The program now compiles and runs, and works fine until such time as the following error occurs: Aborting from core/sync/mutex.d(147) Error:

Aborting from core/sync/mutex.d(147) Error: pthread_mutex_init failed.

2020-03-31 Thread mitchell via Digitalmars-d-learn
Hello, I've just finished migrating a project from GDC/Makefile to LDC with dub. The program now compiles and runs, and works fine until such time as the following error occurs: Aborting from core/sync/mutex.d(147) Error: pthread_mutex_init failed. out of GDB, the whole text is: Aborting

Re: Issues creating a dynamic libary with dub

2020-03-24 Thread mitchell via Digitalmars-d-learn
On Wednesday, 25 March 2020 at 04:04:09 UTC, rikki cattermole wrote: When I see -fPIC I think something is wrong with your compiler+runtime setup. Use -v to see the commands dub is using. This should not be dub related. It seems you're correct. I looked through some of the older projects

Issues creating a dynamic libary with dub

2020-03-24 Thread mitchell via Digitalmars-d-learn
Hello, I'm having issues creating a dynamic library with dub. The dub config file contains (with the exception of the names and such) only targetType "dynamicLibrary" When I attempt to buld the library, I get: common ~master: building configuration "library"... /usr/bin/ld: