Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: kevin1234a on August 25, 2016, 06:14:27 PM



Title: linux qt help
Post by: kevin1234a on August 25, 2016, 06:14:27 PM
So i compiled linux qt but it wont run on other system except in which it was compiled. Do i have to do something extra to make that qt work in other linux flavours (permissions, any dep has to be onstalled in other system etc....)


Title: Re: linux qt help
Post by: psycodad on August 25, 2016, 06:23:15 PM
So i compiled linux qt but it wont run on other system except in which it was compiled. Do i have to do something extra to make that qt work in other linux flavours (permissions, any dep has to be onstalled in other system etc....)

Most probably these will be linked-in dynamic library dependencies on other platforms and most coins can't be compiled that much statically that they run on other linuxes.
At least I know of no tricks for that. Though you can try to compile with
Code:
LDFLAGS=-static
as parameter to make, like in:
Code:
make -f makefile.unix USE_UPNP=- USE_IPV6=1 LDFLAGS=-static
to create a binary with more libraries linked in (but AFAIK not all).

HTH


Title: Re: linux qt help
Post by: kevin1234a on August 25, 2016, 11:30:06 PM
So i compiled linux qt but it wont run on other system except in which it was compiled. Do i have to do something extra to make that qt work in other linux flavours (permissions, any dep has to be onstalled in other system etc....)

Most probably these will be linked-in dynamic library dependencies on other platforms and most coins can't be compiled that much statically that they run on other linuxes.
At least I know of no tricks for that. Though you can try to compile with
Code:
LDFLAGS=-static
as parameter to make, like in:
Code:
make -f makefile.unix USE_UPNP=- USE_IPV6=1 LDFLAGS=-static
to create a binary with more libraries linked in (but AFAIK not all).

HTH

you doesnt sound psyco :) thanks bud