Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Failed to load PulseAudio.plugin in iTunes #4

Open
thaliahuj opened this issue Dec 12, 2011 · 11 comments
Open

Failed to load PulseAudio.plugin in iTunes #4

thaliahuj opened this issue Dec 12, 2011 · 11 comments

Comments

@thaliahuj
Copy link

  1. success to compile PulseAudio.plugin in Xcode,
  2. copy PulseAudio.plugin to library\Audio\Plug-Ins\HAL;
  3. run iTunes;
  4. error:

Dec 9 11:16:37 lizxmatoiMac iTunes[4565]: Error loading /Library/Audio/Plug-Ins/HAL/PulseAudio.plugin/Contents/MacOS/PulseAudio: dlopen(/Library/Audio/Plug-Ins/HAL/PulseAudio.plugin/Contents/MacOS/PulseAudio, 262): Symbol not found: _json_object_array_add\n Referenced from: /Library/Frameworks/PulseAudio.framework/Contents/MacOS/lib/libpulse.0.dylib\n Expected in: flat namespace\n in /Library/Frameworks/PulseAudio.framework/Contents/MacOS/lib/libpulse.0.dylib

Dec 9 11:16:37 lizxmatoiMac iTunes[4565]: Cannot find function pointer New_PAHAL_PlugIn for factory 45F4645C-E875-4364-9296-95837C4B7292 in CFBundle/CFPlugIn 0x21a4e50 </Library/Audio/Plug-Ins/HAL/PulseAudio.plugin> (bundle, not loaded)

@zonque
Copy link
Owner

zonque commented Dec 12, 2011

On 12/12/2011 02:02 AM, thaliahuj wrote:

  1. success to compile PulseAudio.plugin in Xcode,
  2. copy PulseAudio.plugin to library\Audio\Plug-Ins\HAL;
  3. run iTunes;
  4. error:

Dec 9 11:16:37 lizxmatoiMac iTunes[4565]: Error loading /Library/Audio/Plug-Ins/HAL/PulseAudio.plugin/Contents/MacOS/PulseAudio: dlopen(/Library/Audio/Plug-Ins/HAL/PulseAudio.plugin/Contents/MacOS/PulseAudio, 262): Symbol not found: _json_object_array_add\n Referenced from: /Library/Frameworks/PulseAudio.framework/Contents/MacOS/lib/libpulse.0.dylib\n Expected in: flat namespace\n in /Library/Frameworks/PulseAudio.framework/Contents/MacOS/lib/libpulse.0.dylib

Dec 9 11:16:37 lizxmatoiMac iTunes[4565]: Cannot find function pointer New_PAHAL_PlugIn for factory 45F4645C-E875-4364-9296-95837C4B7292 in CFBundle/CFPlugIn 0x21a4e50 </Library/Audio/Plug-Ins/HAL/PulseAudio.plugin> (bundle, not loaded)

I guess you didn't run the fixup scripts that do all the ugly relocation
voodoo? Are you sure you built all this using the scripts I provided?
They are unfortunately mandatory.

Daniel

@thaliahuj
Copy link
Author

Where is the fixup scripts?

@thaliahuj
Copy link
Author

@zonque
Copy link
Owner

zonque commented Dec 12, 2011

On 12/12/2011 02:54 AM, thaliahuj wrote:

Where is the fixup scripts?

Well, in the git:

https://github.com/zonque/PulseAudioOSX/blob/master/deploy/fixup_framework.sh

The whole issue around making such libraries work on OSX is a huge mess,
and this is the cleanest approach I could come up with :-/

Daniel

@zonque
Copy link
Owner

zonque commented Dec 12, 2011

On 12/12/2011 02:58 AM, thaliahuj wrote:

I build source code by "https://github.com/zonque/PulseAudioOSX/wiki/Building-from-source"

Hmm. If you called deploy.sh, the fixup script should have been called
automatically.

@thaliahuj
Copy link
Author

Is it right that I compile PulseAudio.plugin in Xcode ?

@thaliahuj
Copy link
Author

run ./deploy.sh

error:

** BUILD FAILED **

The following build commands failed:
PulseAudioHelper:
PBXCp build/Release/PulseAudioHelper.app/Contents/Frameworks/Growl.framework /Library/Frameworks/Growl.framework
CompileC build/PulseAudioHelper.build/Release/PulseAudioHelper.build/Objects-normal/x86_64/GrowlNotifications.o /Users/hujie/iTunes_Plugin/PulseAudioOSX/PulseAudioHelper/GrowlNotifications.m normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC build/PulseAudioHelper.build/Release/PulseAudioHelper.build/Objects-normal/x86_64/main.o /Users/hujie/iTunes_Plugin/PulseAudioOSX/PulseAudioHelper/main.m normal x86_64 objective-c com.apple.compilers.gcc.4_2
CompileC build/PulseAudioHelper.build/Release/PulseAudioHelper.build/Objects-normal/i386/GrowlNotifications.o /Users/hujie/iTunes_Plugin/PulseAudioOSX/PulseAudioHelper/GrowlNotifications.m normal i386 objective-c com.apple.compilers.gcc.4_2
CompileC build/PulseAudioHelper.build/Release/PulseAudioHelper.build/Objects-normal/i386/main.o /Users/hujie/iTunes_Plugin/PulseAudioOSX/PulseAudioHelper/main.m normal i386 objective-c com.apple.compilers.gcc.4_2
(5 failures)

@thaliahuj
Copy link
Author

run ./bootstrap_machine.sh

Error: Port json-c; not found
To report a bug, see http://guide.macports.org/#project.tickets
Error: Port do not found
To report a bug, see http://guide.macports.org/#project.tickets
---> Cleaning sudo
Error: Port port not found
To report a bug, see http://guide.macports.org/#project.tickets
Error: Port install not found
To report a bug, see http://guide.macports.org/#project.tickets

@zonque
Copy link
Owner

zonque commented Dec 12, 2011

On 12.12.11 04:52, thaliahuj wrote:

run ./bootstrap_machine.sh

Error: Port json-c; not found
To report a bug, see http://guide.macports.org/#project.tickets
Error: Port do not found
To report a bug, see http://guide.macports.org/#project.tickets
---> Cleaning sudo
Error: Port port not found
To report a bug, see http://guide.macports.org/#project.tickets
Error: Port install not found
To report a bug, see http://guide.macports.org/#project.tickets

Ah. Someone posted a patch to fix this recently, but I forgot to apply
it. Sorry for that. Can you check again?

Daniel

@thaliahuj
Copy link
Author

Could you provide an install package to me ?

@thaliahuj
Copy link
Author

Dear Daniel,

Thanks for your reply.

I had succeeded to compile install package at another computer.

Now I have a new issue how to use PulseAudio.plugin in iTunes.

BR,
hujie.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants