Mac Universal Binary upgrade issue

Vansh Singh vsingh at us.counterp.com
Mon Apr 20 19:15:19 CDT 2009


Also, I installed the Mac developer Tools on this Mac while I was logged
in as the admin on it. So, it not having the mac developer tools is not
the reason either.

Vansh

-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Vansh Singh
Sent: Monday, April 20, 2009 4:50 PM
To: Valentina Developers
Subject: RE: Mac Universal Binary upgrade issue

Hello,

I am trying to make a Universal binary build on the Intel-based Mac OSX
10.5.6 with Valentina 4.0.0 and I followed the instructions very closely
on
http://valentina-db.com/download/video_tutorials/v4md/deployment_mac_ub.
mov  and even compiled the dir file on the mac.

It goes ok until the point where I try to install
/usr/local/lib/vcomponents inside my application package. Then I get
these error messages below and the app will not work if I rename
/usr/local/lib/vcomponents/ to /usr/local/lib/vcomponents222 so I know
for sure that running the install_vcomponents_v4md_v4 failed. 

/Users/devadmin/Desktop/install_vcomponents_v4md_v4
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app 
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vshared_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vkernel_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vkernel_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vkernel_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vclient_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vclient_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
wx_mac.dylib malformed object (unknown load command 5)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vreport_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vreport_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/Contents/vcomponents/lib
vreport_fat_release.dylib malformed object (unknown load command 4)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/../Xtras/V4MD.xtra/Conte
nts/MacOS/V4MD malformed object (unknown load command 3)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/../Xtras/V4MD.xtra/Conte
nts/MacOS/V4MD malformed object (unknown load command 3)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/../Xtras/V4MD.xtra/Conte
nts/MacOS/V4MD malformed object (unknown load command 3)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/../Xtras/V4MD.xtra/Conte
nts/MacOS/V4MD malformed object (unknown load command 3)
install_name_tool: for architecture ppc object:
/Users/devadmin/Desktop/MyApp/Init_Shutdown.app/../Xtras/V4MD.xtra/Conte
nts/MacOS/V4MD malformed object (unknown load command 3)

It seems as if something is wrong with the install_vcomponents_v4md_v4
script itself. Is it possible that this script was written for Power PC
based Macs and not for Intel based Mac? I am running all this on an
Intel based Mac.

Has anyone had this problem before? How do I fix it? 

Vansh

-----Original Message-----
From: valentina-bounces+vsingh=us.counterp.com at lists.macserve.net
[mailto:valentina-bounces+vsingh=us.counterp.com at lists.macserve.net] On
Behalf Of Ruslan Zasukhin
Sent: Tuesday, April 14, 2009 11:08 PM
To: valentina at lists.macserve.net
Subject: Re: Mac Universal Binary upgrade issue

On 4/15/09 2:00 AM, "Vansh Singh" <vsingh at us.counterp.com> wrote:

Hi Vansh,

> I did see your new video, it is helpful. I got rid of the error
related
> to the fileio Xtra.
> 
> What was happening is that the Xtra was an older version, the one that
> we used from MS 2004. Turns out that the Xtra needed for the Director
> 11.5 version (D11) has to be updated as well. So that fixed the error
> about the missing Xtra. That is good.

Good.

So that was third party Xtra.
 
> But when I run the install_vcomponents_v4md_v4 script I am still
getting
> the errors that say something like "malformed object (unknown load
> command 4)" and at this point, I am pretty sure that I am getting
these
> errors because I am compiling on the PC and then carrying the
MyApp.app
> over to the Mac. I think I need to compile on the Mac itself with D11.
> (I do not have D11 on the Mac and it does not let you compile with
just
> a trial version, the publish features are disabled in trial versions)
> 
> So, I am now thinking that to make the install_vcomponents_v4md_v4
> script work right without errors, I have to have the app file
generated
> on the mac.

Probably.

I remember that Xtras have resource fork,
And windows do not respect it.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina
_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina


More information about the Valentina mailing list