[00:40:40] *** Jonny- <Jonny-!~Jonny@crooksterrace.plus.com> has quit IRC (Quit: Bye!)
[02:12:21] *** Emcy <Emcy!~MC@cpc93884-swan4-2-0-cust190.7-3.cable.virginm.net> has joined #openal
[02:12:21] *** Emcy <Emcy!~MC@cpc93884-swan4-2-0-cust190.7-3.cable.virginm.net> has quit IRC (Changing host)
[02:12:21] *** Emcy <Emcy!~MC@unaffiliated/mc1984> has joined #openal
[02:12:21] *** ChanServ sets mode: +v Emcy
[02:44:52] *** Smirftsch <Smirftsch!~Smirftsch@p200300D7A3C12C00D52A89C6018F9895.dip0.t-ipconnect.de> has joined #openal
[02:44:52] *** ChanServ sets mode: +v Smirftsch
[02:46:52] *** Smirftsch1 <Smirftsch1!~Smirftsch@p200300D7A3C16E00F9F745E350E45F2D.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 255 seconds)
[04:48:32] *** ybalrid <ybalrid!~ybalrid__@galaad.ybalrid.info> has quit IRC (Quit: Leaving)
[06:15:41] *** irungentoo <irungentoo!~irungento@unaffiliated/irungentoo> has quit IRC (Ping timeout: 240 seconds)
[09:36:44] *** maxfx <maxfx!~maxfx@2a00:1028:8b40:c6d6:4d7e:b760:dd6d:fb2d> has joined #openal
[09:36:44] *** ChanServ sets mode: +v maxfx
[09:48:31] *** maxfx <maxfx!~maxfx@2a00:1028:8b40:c6d6:4d7e:b760:dd6d:fb2d> has quit IRC (Ping timeout: 255 seconds)
[10:58:16] *** friedrich <friedrich!~friedrich@aextron.de> has quit IRC (Ping timeout: 255 seconds)
[11:00:09] *** friedrich <friedrich!~friedrich@aextron.de> has joined #openal
[11:00:09] *** ChanServ sets mode: +v friedrich
[15:54:10] *** SHC <SHC!~quassel@45.251.244.212> has joined #openal
[15:54:10] *** ChanServ sets mode: +v SHC
[16:08:34] *** ybalrid <ybalrid!~ybalrid__@2a01:e35:139b:3d00:d894:3720:57f6:bc40> has joined #openal
[16:08:34] *** ChanServ sets mode: +v ybalrid
[16:20:53] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[16:20:53] *** ChanServ sets mode: +v Murii_
[16:21:41] <Murii_> how do you guys statically link openal?
[16:21:43] <Murii_> with cmake
[16:32:25] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Remote host closed the connection)
[16:33:08] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[16:33:08] *** ChanServ sets mode: +v Murii_
[16:43:27] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Remote host closed the connection)
[16:44:27] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[16:44:27] *** ChanServ sets mode: +v Murii_
[16:44:52] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Read error: Connection reset by peer)
[16:45:06] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[16:45:06] *** ChanServ sets mode: +v Murii_
[17:32:06] *** Smirftsch <Smirftsch!~Smirftsch@p200300D7A3C12C00D52A89C6018F9895.dip0.t-ipconnect.de> has quit IRC (Read error: Connection reset by peer)
[17:33:06] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Remote host closed the connection)
[17:34:01] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[17:34:02] *** ChanServ sets mode: +v Murii_
[17:34:06] *** Smirftsch1 <Smirftsch1!~Smirftsch@p200300D7A3C12C00E03AC2071210D60F.dip0.t-ipconnect.de> has joined #openal
[17:34:06] *** ChanServ sets mode: +v Smirftsch1
[17:34:30] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Read error: Connection reset by peer)
[17:34:57] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[17:34:57] *** ChanServ sets mode: +v Murii_
[17:35:24] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Read error: Connection reset by peer)
[17:35:50] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[17:35:50] *** ChanServ sets mode: +v Murii_
[17:36:16] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Read error: Connection reset by peer)
[17:36:34] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[17:36:34] *** ChanServ sets mode: +v Murii_
[17:46:52] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Remote host closed the connection)
[17:47:35] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[17:47:35] *** ChanServ sets mode: +v Murii_
[18:14:00] *** SHC <SHC!~quassel@45.251.244.212> has quit IRC (Remote host closed the connection)
[18:40:18] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC (Remote host closed the connection)
[18:49:25] *** friedrich <friedrich!~friedrich@aextron.de> has quit IRC (Ping timeout: 255 seconds)
[18:50:44] *** friedrich <friedrich!~friedrich@aextron.de> has joined #openal
[18:50:44] *** ChanServ sets mode: +v friedrich
[19:18:19] *** irungentoo <irungentoo!~irungento@unaffiliated/irungentoo> has joined #openal
[19:18:19] *** ChanServ sets mode: +v irungentoo
[19:34:20] <KittyCat> Murii, openal-soft needs to be built as a static lib, as it's normally shared
[19:34:42] <KittyCat> iirc, you can't static link a shared lib
[20:36:34] *** Murii_ <Murii_!~Murii@79.113.234.223> has joined #openal
[20:36:34] *** ChanServ sets mode: +v Murii_
[20:40:59] *** irungentoo <irungentoo!~irungento@unaffiliated/irungentoo> has quit IRC (Remote host closed the connection)
[20:43:53] *** maxfx <maxfx!~maxfx@2a00:1028:8b40:c6d6:58dd:8965:35c4:4bf3> has joined #openal
[20:43:53] *** ChanServ sets mode: +v maxfx
[21:21:47] <Murii_> how do you guys statically link openal?
[21:21:54] <Murii_> in cmake
[21:23:45] <jpernst> I was looking into this a while ago, but opted against it in the end on account of LGPL conditions
[21:25:17] <Murii_> the problem is that if I move the executable and delete the location where the library has built the application will still try to search for it in that location
[21:25:29] <Murii_> if I move the .a file it does not help
[21:25:55] <Murii_> on windows I can fix this by putting the .dll near the executable
[21:28:01] <KittyCat> I think if you link your app with -Wl,--rpath=$ORIGIN (making sure to escape the $ so it's not eaten by the shell or whatever), it'll look in the same place as the executable for libs
[21:29:36] <jpernst> another approach is to just dlopen() it manually
[21:29:41] <Murii_> I use -Wl but not the second part
[21:29:50] <jpernst> althouth that would involve more refactoring
[21:32:15] <Murii_> clang: error: unsupported option '--rpath=$ORIGIN'
[21:32:23] <Murii_> is it because of osx?
[21:32:48] <Murii_> I'm getting this error when linking libopenal.dylib
[21:33:39] <KittyCat> maybe it's not supported on OSX. did you specify it correctly? -Wl,--rpath=$ORIGIN
[21:35:03] <Murii_> KittyCat: yes
[21:35:46] <KittyCat> there's an extra space in there. might be the problem
[21:35:47] <jpernst> try removing the space between the , and -
[21:35:57] <Murii_> ok
[21:36:34] <Murii_> hm, it looks like it's very sensitive. anyway I get this: ld: unknown option: --rpath=$ORIGIN
[21:36:41] <Murii_> so that means it's not supported on osx
[21:37:06] <KittyCat> and you need to set that on the app that uses openal, rather than a shared lib (whatever is linking to openal)
[21:38:18] <jpernst> hmm, the manpage for ld seems to indicate rpath only has one - instead of two
[21:41:18] <Murii_> I'm not sure I follow Kittycat
[21:41:23] <Murii_> KittyCat*
[21:42:53] <Murii_> Ah, well the command you gave me is put inside the cmake of the app I'm building
[21:43:07] <caedes__> OSX has something similar afaik
[21:43:49] <Murii_> so at least --rpath should work on linux?
[21:43:58] <Murii_> because I expect to have the same problem there too
[21:44:46] <jpernst> it takes one hyphen instead of two, apparently, but yes
[21:44:49] <Murii_> so basically I should use the RPATH correctly?
[21:46:14] <Murii_> because in the first lines I got something with rpath but never knew that they do exactly
[21:46:55] <caedes__> I have the following in a makefile for linux: -Wl,-rpath,'$$ORIGIN'
[21:47:32] <caedes__> I think '' and $$ make sure make and/or the shell don't try to expand it ($$ escapes to $ or sth)
[21:50:44] <Murii_> thanks
[21:52:04] <caedes__> you're welcome
[22:52:46] <Murii_> so I end up doing: make install and that helped
[22:52:50] <Murii_> at least on osx
[22:53:01] <Murii_> got to check on linux too
[23:05:14] <Murii_> I just realised that this is not a good solution because I can't make everyone compile my project when they want to run it
[23:18:00] <KittyCat> the $ORIGIN/@executable_path thing is handled at runtime. it'll use whatever path the executable is in when run, regardless of where it was built
[23:35:42] *** Murii_ <Murii_!~Murii@79.113.234.223> has quit IRC ()