1. Beatrix Willius
  2. Valentina Database ADK
  3. Tuesday, December 05 2023, 06:47 PM
  4.  Subscribe via email
I should have tested Valentina 13.6 on Sonoma, too. What does the attached error message want to tell me?
Attachments (1)
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
So it is a compiled application, vcomponents_x64 is inside the app bundle, right?
Does it work on an older system but fail to start on Sonoma?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 1
Beatrix Willius Accepted Answer
This is the debugged version. But I need full disk access so I need Valentina for the codesign. I had made a new build for some testers and they got an error "Location: Common/plugin.cpp:1048
Condition: false
Message: Could not open plugin v4rb_cocoa_64.dylib (dlopen(/Applications/Mail Archiver X/Mail Archiver http://X.app/Contents/Frameworks/v4rb_cocoa_64.dylib, 0x0005): Library not loaded: /usr/local/lib/vcomponents_x64/libvclient_fat_release_x64.dylib".

I don't know which macOS version the user has.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 2
Sergey Pashkov Accepted Answer
So maybe it is the issue of not changing the paths?
The plugin is looking for vcomponents libraries in the /usr/local/lib instead of the application bundle.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 3
Beatrix Willius Accepted Answer
I need to copy Valentina into the app bundle even for debug which is done correctly. The attached screenshot shows the Frameworks folder of the debugged app.

My guess that something is wrong with codesigning is because of this small part of the error message: "libvclient_fat_release_x64.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs),"
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 4
Sergey Pashkov Accepted Answer
But it is looking for a library in the wrong place:
/usr/local/lib/vcomponents_x64/libvclient_fat_release_x64.dylib.

So, the install_name_tool stage has probably failed.

The error message is accurate; the libraries have different Team IDs. The vreport library is in the app bundle, while vclient is located in /usr/local/lib.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 5
Beatrix Willius Accepted Answer
I can't say what is wrong. I just see that 13.5 is working and 13.6 is not.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 6
Sergey Pashkov Accepted Answer
Ok, I'll rebuild the plugin with headerpad flags in VReport target, and we'll check if that is the reason for this error.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 7
Sergey Pashkov Accepted Answer
I've uploaded an updated version to Dropbox:
References
  1. https://www.dropbox.com/t/HZjbBQlOeLnVlcYX
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 8
Beatrix Willius Accepted Answer
Thanks! Sonoma looks good. I'll test High Sierra tomorrow.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 9
Beatrix Willius Accepted Answer
The new version also works fine on High Sierra.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 10
Beatrix Willius Accepted Answer
Is 13.6.1 supposed to fix the problem with the plugin loading? I get the original error again - see screenshot.
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 11
Sergey Pashkov Accepted Answer
No, 13.6.1 was already built when the problem appeared.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 12
Beatrix Willius Accepted Answer
Thanks for the information.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Database ADK
  3. # 13
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories